GP_EMPL_STA_VW

(SQL View)
Index Back

employee status view

used in payroll analytics for employee status view

SELECT EMPL_STATUS ,XLATLONGNAME FROM PS_EMPL_STATUS_TBL A ,PSXLATITEM B WHERE A.EFF_STATUS='A' AND B.FIELDNAME='EMPL_STATUS' AND A.EMPL_STATUS=B.FIELDVALUE AND B.EFFDT=( SELECT MAX(A1.EFFDT) FROM PSXLATITEM A1 WHERE B.FIELDNAME=A1.FIELDNAME AND B.FIELDVALUE=A1.FIELDVALUE AND A1.EFFDT <=%CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPL_STATUS Character(1) VARCHAR2(1) NOT NULL Payroll Status
A=Active
D=Deceased
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
2 DESCR Character(30) VARCHAR2(30) NOT NULL Description