TL_EMPL_NAME_VW

(SQL View)
Index Back

Search Vw - T&L Empl Data

Search Vw - T&L Empl Data. EMPLID is the only search key.

SELECT DISTINCT A.EMPLID , B.NAME_DISPLAY 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

Prompt Table: TL_P_EMPLID_VW

2 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country