GPBR_JOB_SFP_VW

(SQL View)
Index Back

SEFIP report Job view GP BRA

SEFIP report Job view GP BRA.

SELECT JOB1.EMPLID , JOB1.EMPL_RCD , JOB1.EFFDT , JOB1.ACTION FROM PS_JOB JOB1 WHERE NOT EXISTS ( SELECT 'X' FROM PS_JOB JOB2 WHERE JOB2.EMPLID = JOB1.EMPLID AND JOB2.EMPL_RCD = JOB1.EMPL_RCD AND %Substring(%Cast(JOB2.EFFDT, Date, Character),1,7) = %Substring(%Cast(JOB1.EFFDT, Date, Character),1,7) AND JOB2.ACTION <> JOB1.ACTION AND JOB2.ACTION = 'HIR')

# 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 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 ACTION Character(3) VARCHAR2(3) NOT NULL Action