HR_RW_CURJOB_VW

(SQL View)
Index Back

Current Job View

Direct Reports UI. Used to select new authorized individuals.

SELECT A.EMPLID , A.EMPL_RCD , A.EMPL_STATUS , A.HR_STATUS , A.SETID_JOBCODE , A.JOBCODE ,A.POSITION_NBR ,A.REG_REGION 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 Record
3 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
4 HR_STATUS Character(1) VARCHAR2(1) NOT NULL HR Status
A=Active
I=Inactive
5 SETID_JOBCODE Character(5) VARCHAR2(5) NOT NULL Job Code Set ID
6 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
7 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
8 REG_REGION Character(5) VARCHAR2(5) NOT NULL Regulatory Region