GP_ABS_LD_ENM_V

(SQL View)
Index Back

Leave Donation EE Name View

Leave Donation Employee Name View

SELECT DISTINCT A.EMPLID , B.NAME_PSFORMAT FROM PS_JOB A , PS_PERSON_NAME B WHERE A.EMPLID = B.EMPLID AND A.EFFDT = ( SELECT MAX(J.EFFDT) FROM PS_JOB J WHERE A.EMPLID = J.EMPLID AND J.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(J2.EFFSEQ) FROM PS_JOB J2 WHERE J2.EMPLID = A.EMPLID AND J2.EMPL_RCD = A.EMPL_RCD AND J2.EFFDT = A.EFFDT )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 NAME_PSFORMAT Character(50) VARCHAR2(50) NOT NULL A Person's name in the Peoplesoft Format (basically LN,FN MI