EnterpriseOne UserIDs Of Terminated Empoyees
Share
My current employer is a publicly traded entity. As such, we are subject to SOX regulations. Because of this we run many reports periodically to satisfy the auditing department.
One of those reports determines if there are any terminated employees that still have active UserIDs.
Here is the SQL that is used for the report:
SELECT uluser, -- userid from f0092 sceuser, -- userid from f98owsec yapast, -- employee pay status from f060116 date(char(yadt+1900000)), -- adjustment date (last edit of record) from f060116 yaalph -- full name from f060116 FROM sy811/f0092 a, sy811/f98owsec b, proddta/f060116 c WHERE a.uluser = b.scuser = userid and a.ulan8 = c.yaan8 -- address book # and c.yapast <> '0' -- employee pay status not active and b.sceuser = '01' -- userid is enabled
Author
Stewart Schatz
More Stories
Quick Tip: Hold All JDE Job Queues
The following SQL statement will put all JDE Job Queues on hold: UPDATE SY920.F986130 SET QCQUSTS='02' This statement is very...
How To Disable Client Package Deployment
If you have a development client that has been neglected and JDE wants you to install 15 update packages but...
Quick Tip: Limit The Number Of Rows Returned From A SQL Query
This is pretty basic, but I had to look up the syntax to use for SQL on IBM DB2 so...
Quick Tip: Where Is An Application On The Menu?
The following SQL will give you a good idea if an application or UBE is on the menu and where...
Quick Tip: Decline All Update Packages Using SQL
A quick way to decline all packages that have been marked for deployment on a development client is use SQL:...
Quick Tip: Change A Scheduled Job’s Time Zone Using SQL
If you work with multiple time zones, especially if one uses Daylight Saving Time and the other does not, it...
Average Rating