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:
BDell92
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5275
People Online:
Visitors:
461
Members:
0
Total:
461
Online Now:
New Topics
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
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
1375
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
Split
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
Split
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
Split
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
Split
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
Split
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
Split
@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
Split
@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
Split
@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.