HCSC_CAL_SUP_VW

(SQL View)
Index Back

Supevisor ID Prompt


SELECT DISTINCT A.SUPERVISOR_ID ,B.LAST_NAME , B.FIRST_NAME , B.NAME_DISPLAY FROM PS_JOB A , PS_PERSON_NAME B WHERE B.EMPLID = A.SUPERVISOR_ID AND A.EFFDT = ( SELECT MAX(Z.EFFDT) FROM PS_JOB Z WHERE A.EMPLID = Z.EMPLID AND A.EMPL_RCD = Z.EMPL_RCD AND Z.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(Z1.EFFSEQ) FROM PS_JOB Z1 WHERE A.EMPLID = Z1.EMPLID AND A.EMPL_RCD = Z1.EMPL_RCD AND Z1.EFFDT = A.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SUPERVISOR_ID Character(11) VARCHAR2(11) NOT NULL Supervisor ID
2 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
3 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
4 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country