PY_IN_UPD_ST_VW(SQL View) |
Index Back |
---|---|
Employee Status ViewEmployee Status View |
SELECT DISTINCT A.EMPLID , A.EMPL_STATUS ,A.HR_STATUS FROM PS_PY_IN_EMP_ST_VW A WHERE A.PY_TAX_YEAR= ( SELECT MAX(A1.PY_TAX_YEAR) FROM PS_PY_IN_EMP_ST_VW A1 WHERE A.EMPLID=A1.EMPLID) AND A.PRIORITY=( SELECT MIN(A2.PRIORITY) FROM PS_PY_IN_EMP_ST_VW A2 WHERE A.EMPLID=A2.EMPLID AND A.PY_TAX_YEAR=A2.PY_TAX_YEAR) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | 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 |
3 | HR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
HR Status
A=Active I=Inactive |