EX_EE_JOB_DT_VW

(SQL View)
Index Back

Job Data View

View of data from Job table.

SELECT A.EMPLID , A.EMPL_RCD , A.EMPL_STATUS , A.DEPTID , A.SUPERVISOR_ID , A.REPORTS_TO FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_JOB A1 WHERE A1.EMPLID = A.EMPLID AND A1.EMPL_RCD = A.EMPL_RCD AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_JOB A2 WHERE A2.EMPLID = A.EMPLID AND A2.EMPL_RCD = A.EMPL_RCD AND A2.EFFDT = A.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 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
4 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
5 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
6 REPORTS_TO Character(8) VARCHAR2(8) NOT NULL Reports To Position Number