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
Schedule report users *Share* ??
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeovanni
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5287
People Online:
Visitors:
506
Members:
0
Total:
506
Online Now:
New Topics
S3 Customization/Development
Data / List view on Lawson Portal
5/21/2025 2:37 AM
Client is on S3 V10. All delivered and custom form
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
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
1377
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
Schedule report users *Share* ??
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 2:46 PM
Does anyone have a report of the report users that are attached to the schedules that they would be willing to share?
I'm being asked to develop one, and I really don't have the time. I've got one that has the main report users, (and I'd be willing to share that) but not one that ties the report to the schedule to the report users on the schedule.
Anyone?
Thanks much,
-Greg
JeanneS
Veteran Member
Posts: 49
4/30/2012 3:13 PM
Split
Try this:
SELECT "ERS_REPORTS"."REPORTID", "ERS_REPORTS"."REPORTNAME", "ERS_REPORTACCESS"."ACCESSVALUE", "ERS_REPORTACCESS"."ACCESSTYPE", "ERS_REPORTACCESS"."INSTANCEID"
FROM "RSUSER"."ERS_REPORTS" "ERS_REPORTS" LEFT OUTER JOIN "RSUSER"."ERS_REPORTACCESS" "ERS_REPORTACCESS" ON ("ERS_REPORTS"."REPORTID"="ERS_REPORTACCESS"."REPORTID") AND ("ERS_REPORTS"."INSTANCEID"="ERS_REPORTACCESS"."INSTANCEID")
ORDER BY "ERS_REPORTS"."REPORTNAME", "ERS_REPORTACCESS"."INSTANCEID" DESC, "ERS_REPORTACCESS"."ACCESSVALUE"
Chris Martin
Veteran Member
Posts: 277
4/30/2012 3:33 PM
Split
You may need a small tweak to that to get users only associated with the schedule: ERS_REPORTACCESS.INSTANCEID = -1
Here's my query...
SELECT ERS_REPORTS.REPORTID, ERS_REPORTS.REPORTNAME, ERS_REPORTACCESS.ACCESSVALUE, ERS_REPORTACCESS.ACCESSTYPE, ERS_REPORTACCESS.INSTANCEID
FROM LawsonRS.dbo.ERS_REPORTS ERS_REPORTS
LEFT OUTER JOIN LawsonRS.dbo.ERS_REPORTACCESS ERS_REPORTACCESS
ON ERS_REPORTS.REPORTID=ERS_REPORTACCESS.REPORTID
AND ERS_REPORTACCESS.INSTANCEID = -1
ORDER BY ERS_REPORTS.REPORTNAME, ERS_REPORTACCESS.INSTANCEID DESC, ERS_REPORTACCESS.ACCESSVALUE
Chris Martin
Veteran Member
Posts: 277
4/30/2012 3:39 PM
Split
Modified query to included the schedule name:
SELECT ERS_REPORTS.REPORTID, ERS_REPORTS.REPORTNAME, ERS_REPORTACCESS.JOBNAME, ERS_REPORTACCESS.ACCESSVALUE, ERS_REPORTACCESS.ACCESSTYPE, ERS_REPORTACCESS.INSTANCEID
FROM LawsonRS.dbo.ERS_REPORTS ERS_REPORTS
LEFT OUTER JOIN LawsonRS.dbo.ERS_REPORTACCESS ERS_REPORTACCESS
ON ERS_REPORTS.REPORTID=ERS_REPORTACCESS.REPORTID
AND ERS_REPORTACCESS.INSTANCEID = -1
ORDER BY ERS_REPORTS.REPORTNAME, ERS_REPORTACCESS.INSTANCEID DESC, ERS_REPORTACCESS.ACCESSVALUE
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 3:46 PM
Split
Chris: When I filter to InstanceID = -1, I don't get any records returned. What am I doing wrong? The very first query you provided returns lots of pages of data.
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 3:52 PM
Split
OK... It works and returns data when I just use the sql expression, but I'm trying to convert it to a Crystal report. I'll get it. I'm too bull-headed to quit.
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 6:28 PM
Split
Well, after some difficulties, I finally got it to work. Validation is probably the next step. Thanks all for your help!!
Chris Martin
Veteran Member
Posts: 277
4/30/2012 6:48 PM
Split
Glad to hear. Mind sharing your working query?
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 7:18 PM
Split
Not a problem: Here's what we've gotten to work. It's not validated yet, but it's returning some of the expected data.
SELECT DISTINCT "ERS_REPORTACCESS"."INSTANCEID", "ERS_REPORTS"."REPORTNAME", "ERS_REPORTACCESS"."JOBNAME", "ERS_REPORTACCESS"."ACCESSVALUE", "ERS_REPORTS"."REPORTID", "ERS_REPORTACCESS"."ACCESSTYPE"
FROM "LAWRS"."ERS_REPORTS" "ERS_REPORTS" LEFT OUTER JOIN "LAWRS"."ERS_REPORTACCESS" "ERS_REPORTACCESS" ON "ERS_REPORTS"."REPORTID"="ERS_REPORTACCESS"."REPORTID"
WHERE "ERS_REPORTACCESS"."INSTANCEID"=-1
ORDER BY "ERS_REPORTS"."REPORTID", "ERS_REPORTS"."REPORTNAME", "ERS_REPORTACCESS"."JOBNAME"
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 8:07 PM
Split
In my Crystal report I set up a group by on ReportID, ReportName and JobName.
Greg Moeller
Veteran Member
Posts: 1498
5/2/2012 6:52 PM
Split
Here's an actual .rpt file if you want. :)
Attachments
ReportsSchedulesReportUsersGrouped.rpt
Please
login
to post a reply.