Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Is there a key in the EFS schema that can link to the REPORTID field in the ERS schema?
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
380
Members:
0
Total:
380
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1372
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Is there a key in the EFS schema that can link to the REPORTID field in the ERS schema?
Please
login
to post a reply.
8 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
mlarson
Basic Member
Posts: 5
1/10/2014 6:54 PM
I'm trying to figure out how to link the data in the ENBATREE table of the EFS schema to the report data found in the ERS schema via a SQL query. After analyzing the database tables I have not seen anything from the EFS schema that can be linked to the REPORTID field which is used by the majority of the tables in the ERS schema. Any help would be appreciated, thanks!
Greg Moeller
Veteran Member
Posts: 1498
1/10/2014 8:34 PM
What exactly are you trying to accomplish? Perhaps someone would have ideas if given some requirements?
mlarson
Basic Member
Posts: 5
1/13/2014 11:29 AM
I want to apply the Report Id to the LBI link objects that a user has access to. Similar to when you helped me before:
https://www.lawsonguru.co...roup-hierarchy-data/
but I want to return the Report Id as well so that I can access report data from multiple tables in the ERS schema.
Basically how can I link the following two schemas:
EFS - http://www.images.lawsonguru.com/tips/lbi/LBI-EFS-ERD.gif
ERS - http://www.images.lawsonguru.com/tips/lbi/LBI-ERS-ERD.gif
Greg Moeller
Veteran Member
Posts: 1498
1/13/2014 2:55 PM
You may be able to figure out a way to link ENPUSERMAP.USERID --
See:
https://www.lawsonguru.co...S/relationships.html
Let us all know what you figure out. I'll keep you updated as well, if I figure out anything.
mlarson
Basic Member
Posts: 5
1/28/2014 11:54 AM
I found a solution to what I was trying to accomplish but I am not certain that this is the best way to do it. I wanted to find a way to connect the data in the framework services (EFS) schema to the data in the reporting services (ERS) schema, more specifically I wanted to relate the reporting data from EFS to the report id in ERS so that I could call reports at will from a web browser. I later found that there really is no point to connect the two schemas at all because all of the necessary data can be found in the EFS schema.
I started with the query shown below to get the entry id, entry parent id, and entry string (report name) from the ENPBATREE table by the user id and group id's belonging to a specific username:
select distinct(bt.treeentryid) entryid, bt.entryparent, bt.lvl, bt.entrystring
from 'efs_schema'.enpentryaccess ea, 'efs_schema'.enpbatree bt
where ea.treeentryid = bt.treeentryid and
(ea.accessid in
(select gm.userid
from 'efs_schema'.enpgroupmap gm, 'efs_schema'.enpusermap um
where gm.userid = um.userid and um.username = 'user1')
or ea.accessid in
(select gm.groupid
from 'efs_schema'.enpgroupmap gm, 'efs_schema'.enpusermap um
where gm.userid = um.userid and um.username = 'user1'))
and bt.lvl > 1
order by bt.lvl, entryid, bt.entryparent;
To use the above query replace 'efs_schema' with the name of your EFS database schema and replace 'user1' with the username you would like search permissions for. The lvl column shows the hierarchy of the dashboards, modules, and reports that a user has access to. In my case dashboards were lvl 2, modules were lvl 3 and reports were lvl 4.
After retrieving this data via a server side application development language (.NET, Java, etc.), I was able to recursively loop through all parent id's of the returned dashboards and find all modules/reports that belonged to each parent id.
When all of the entry id's are retrieved for the reports it is then possible to get the parameterized report url from the ENPENTRYATTR table.
MHRoy
Basic Member
Posts: 5
5/9/2014 6:27 PM
I have been working on trying to link these together as well so that I can create a report showing tab, module, module user and report user entries. I have not found a link.
However, I was able to produce 2 reports.
The first shows each tab, the modules in the tab and the reports in the modules. I have drill downs and drill throughs that show all the users at each of these levels. If the "user" is a group, drill downs exist to show all of the members as well.
The second report shows report user settings for each report, including drill downs for groups.
If anyone is interested, just let me know...
Kate Liamero
Veteran Member
Posts: 70
5/12/2014 6:24 PM
@mhroyI would love to have copies of these reports to try and clean up lbi. Thanks
Kate
kate.liamero@edisonlearning.com
Greg Moeller
Veteran Member
Posts: 1498
5/14/2014 9:09 PM
@MHRoy: Please send those reports to me as well! It's always interesting to see what others have been able to come up with!
moellerg@genesishealth.com
JeffCozzag
Basic Member
Posts: 6
5/15/2014 8:20 PM
@mhroyI would love to have copies of these reports. Thank you for your time and efforts.
jcozzaglio@platformone.com
Please
login
to post a reply.