GPJP_RCD_1_SRCH

(SQL View)
Index Back

Used to search employee record

To search for Employee Id and Record based on Job data.

SELECT DISTINCT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.HR_STATUS FROM PS_JOB A WHERE A.PAY_SYSTEM_FLG = 'GP' AND A.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = A.EMPLID AND EMPL_RCD = A.EMPL_RCD AND 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 EFFDT Date(10) DATE Effective Date

Default Value: %date

4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive