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:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
412
Members:
0
Total:
412
Online Now:
New Topics
S3 Customization/Development
Cobol - Extract Current Time
4/24/2024 7:21 PM
How do you extract just the Current System Time in
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
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
1351
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
Schedule report users *Share* ??
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
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
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
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
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
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
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
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
Glad to hear. Mind sharing your working query?
Greg Moeller
Veteran Member
Posts: 1498
4/30/2012 7:18 PM
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
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
Here's an actual .rpt file if you want. :)
Attachments
ReportsSchedulesReportUsersGrouped.rpt
You are not authorized to post a reply.