HCSC_NAMES_CJOB

(SQL View)
Index Back

Person name from current job

Person Name of current active employee

SELECT P.EMPLID ,P.LAST_NAME_SRCH , P.FIRST_NAME_SRCH , P.NAME_DISPLAY FROM PS_PERSON_NAME P WHERE P.EMPLID IN ( SELECT EMPLID FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX (C.EFFDT) FROM PS_JOB C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(D.EFFSEQ) FROM PS_JOB D WHERE D.EMPLID = A.EMPLID AND D.EMPL_RCD = A.EMPL_RCD AND D.EFFDT = A.EFFDT) AND A.HR_STATUS = 'A' AND A.EMPL_STATUS = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 LAST_NAME_SRCH Character(30) VARCHAR2(30) NOT NULL Last Name
3 FIRST_NAME_SRCH 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