HRS_ACTV_EMP_VW

(SQL View)
Index Back

EE Personal Data View

PERS_DTA_EMP_VW is used to prompt for Employees only (i.e excluding all types of Non-Employee and is used in Recruit Workforce and the Dept_Tbl

SELECT DISTINCT A.EMPLID , PN.NAME FROM PS_JOB A , PS_PERSON P , PS_PERSON_NAME PN WHERE A.EMPLID = P.EMPLID AND A.EMPLID = PN.EMPLID AND 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.PER_ORG= 'EMP' 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 NAME Character(50) VARCHAR2(50) NOT NULL Name