Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Financial Management
Lawson S3 Financials
PO190 Last Run Audit
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
SP_LAWSON
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5173
People Online:
Visitors:
294
Members:
0
Total:
294
Online Now:
New Topics
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
1360
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
Financial Management
Lawson S3 Financials
PO190 Last Run Audit
Please
login
to post a reply.
2 Replies
0
Subscribed to this topic
149 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
SSmith
Basic Member
Posts: 9
4/3/2023 2:36 PM
Is there a way we can figure out what user ran last this program PO190?
Greg Moeller
Veteran Member
Posts: 1498
4/3/2023 2:48 PM
If you have sql access to the GEN database, I believe this will help.
SELECT USERNAME,JOBNAME,TOKEN,ACTSTARTDATE,ACTSTARTTIME,
CAST(DATEADD(SECOND, FLOOR(ACTSTARTTIME / 10000) * 3600 + FLOOR(ACTSTARTTIME / 100) % 100 * 60 + ACTSTARTTIME % 100, 0) as time) as 'Start HH:mm:ss',
STOPTIME,
CAST(DATEADD(SECOND, FLOOR(STOPTIME / 10000) * 3600 + FLOOR(STOPTIME / 100) % 100 * 60 + STOPTIME % 100, 0) as time) as 'Stop HH:mm:ss',
CONVERT(CHAR(8), DATEADD(SECOND, DATEDIFF(SECOND,CAST(DATEADD(SECOND, FLOOR(ACTSTARTTIME / 10000) * 3600 + FLOOR(ACTSTARTTIME / 100) % 100 * 60 + ACTSTARTTIME % 100, 0) AS TIME), CAST(DATEADD(SECOND, FLOOR(STOPTIME / 10000) * 3600 + FLOOR(STOPTIME / 100) % 100 * 60 + STOPTIME % 100, 0) AS TIME)), ''), 114) AS 'RunTime Duration'
FROM gen.dbo.QUEUEDJOB
WHERE STATUS = '63' AND CONVERT(VARCHAR(21),STOPDATE,101) = CONVERT(VARCHAR(21),GETDATE(),101)
-- ORDER BY 'RunTime Duration' desc
ORDER BY ACTSTARTDATE desc, ACTSTARTTIME desc
John Henley
Posts: 3353
4/3/2023 3:14 PM
Another way I track down (assuming you have access to the machine / Lawson folder), is just search the /print folder for print file (e.g. PO190.prt). Also, can search using a text search in %LAWDIR%/system/joblog/* for PO190. Neither is foolproof but can give you some insight.
Please
login
to post a reply.