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
Verifying LBI Maintain Rights
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
TomV
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5186
People Online:
Visitors:
170
Members:
0
Total:
170
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Business Intelligence/Reporting/Crystal
Verifying LBI Maintain Rights
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
ALB
Veteran Member
Posts: 130
3/20/2017 4:46 PM
We are moving from on-premise to the Cloud without realizing that we were expected to maintain LBI security from that initial cut. We have some reports which are bursted. It appears that some people were partially set up. Does anyone have any SQL they use to confirm LBI Rights match?
Dave Curtis
Veteran Member
Posts: 136
3/20/2017 7:55 PM
I suppose it would depend on what elements you have your rights built with but here is the start of what I think you are looking for.
I use this to compare the LBI rights to structure that the rights are built on (such as supervisor codes, department etc).
Might get you started at least...
SELECT rm.ruleid,
rm.rulename,
rm.ruledescription,
rm.ruleowner,
rm.startdate,
rm.enddate,
rm.status,
rv.rulegrouping,
rv.structureid,
st.structurename,
rd.elementorder,
rv.elementid,
el.elementname,
rd.operand,
rv.elementvalue1,
rd.elementvalue2
FROM rsuser.ers_rulemaster rm,
rsuser.ers_rulevalues rv,
rsuser.ers_elements el,
rsuser.ers_structure st,
rsuser.ers_ruledetail rd
WHERE rm.ruleid = rv.ruleid
AND rv.elementid = el.elementid
AND rv.structureid = st.structureid
AND ( rv.ruleid = rd.ruleid(+)
AND rv.elementid = rd.elementid(+)
AND rv.structureid = rd.structureid(+)
AND rv.rulegrouping = rd.rulegrouping(+))
ORDER BY rm.rulename,
st.structureid,
rv.rulegrouping,
rd.elementorder,
rv.elementid
Joan Herzfeldt
Veteran Member
Posts: 74
3/21/2017 12:38 PM
Hi Angela - This is similar to Dave's but I found and linked the role and username as well.
select distinct
M.RULEID
, U.CONSUMERID AS USERORROLE
, ghs.GET_USERGROUP_NAME(u.CONSUMERID) as USERNAME
, M.RULENAME
, M.RULEOWNER
, M.STARTDATE --datetime field for CR
, M.ENDDATE --datetime field for CR
, D.STRUCTUREID, S.STRUCTURENAME
, D.ELEMENTID, E.ELEMENTNAME
, D.ELEMENTORDER
, V.SEQUENCEID
, D.OPERAND
, V.ELEMENTVALUE1
, D.ELEMENTVALUE2
, V.RULEGROUPING
FROM ERS_RULEMASTER M
JOIN ERS_RULEMAPPINGS U ON M.RULEID = U.RULEID
JOIN ERS_RULEDETAIL D ON M.RULEID = D.RULEID
JOIN ERS_RULEVALUES V ON D.RULEID = V.RULEID and D.STRUCTUREID = V.STRUCTUREID and D.ELEMENTID = V.ELEMENTID
JOIN ERS_STRUCTURE S ON D.STRUCTUREID = S.STRUCTUREID AND S.STATUS = 'A'
JOIN ERS_ELEMENTS E ON D.ELEMENTID = E.ELEMENTID
where M.STATUS = 'A'
You are not authorized to post a reply.