FO_JOB_VW

(SQL View)
Index Back

Job w/max eff seq


SELECT J.EMPLID , J.EMPL_RCD , J.EFFDT , J.CURRENCY_CD , J.PAY_SYSTEM_FLG , J.EMPL_TYPE FROM PS_JOB J WHERE J.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB JJ WHERE JJ.EMPLID = J.EMPLID AND JJ.EMPL_RCD = J.EMPL_RCD AND JJ.EFFDT = J.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 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
5 PAY_SYSTEM_FLG Character(2) VARCHAR2(2) NOT NULL Payroll System
GP=Global Payroll
NA=Payroll for North America
OT=Other
PI=Payroll Interface
6 EMPL_TYPE Character(1) VARCHAR2(1) NOT NULL Employee Type
E=Exception Hourly
H=Hourly
N=Not Applicable
S=Salaried