WM_TE_AUTH_OPR

(SQL View)
Index Back

Work Order Time Entry

Work Order Time Entry Authorized users

SELECT A.EMPLID , B.AUTHORIZED_OPRID , A.NAME , C.EMPL_STATUS FROM PS_WM_ELGBL_WRKR A , PS_EX_EE_AUTH_TBL B , PS_EX_AA_EE_ORG_VW C WHERE B.EMPLID = A.EMPLID AND C.EMPLID = B.EMPLID AND (C.EMPL_STATUS = 'A' OR (C.EMPL_STATUS IN ('I', 'L', 'P', 'U', 'V', 'T', 'W', 'Q', 'R') AND (C.TERMINATION_DT IS NULL OR %CurrentDateIn <= %DateAdd(C.TERMINATION_DT, C.TIME_RPT_LIMIT)))) AND C.EE_VAL_FLG = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 EMPL_STATUS Character(1) VARCHAR2(1) NOT NULL Employee Status
A=Active
D=Deceased
I=Inactive
L=Leave of Absence
P=Leave With Pay
Q=Retired With Pay
R=Retired
S=Suspended
T=Terminated
U=Terminated With Pay
V=Terminated Pension Pay Out
W=Short Work Break
X=Retired-Pension Administration