HR_RETIR_EMP_VW

(SQL View)
Index Back

Employee Name View

View used to fetch employee name in fluid approval summary Page

SELECT A.EMPLID , A.EMPL_RCD ,A.REQUEST_DT , A.EFFSEQ ,B.NAME_DISPLAY FROM PS_HR_ESS_RTRE_DAT A , PS_NAMES B WHERE A.EMPLID = B.EMPLID AND B.NAME_TYPE = 'PRI' AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_NAMES B1 WHERE B1.EMPLID = B.EMPLID AND B1.EFFDT <= %CurrentDateIn AND B1.NAME_TYPE='PRI' )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 REQUEST_DT Date(10) DATE Request Date
4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
5 EMPLNAME Character(50) VARCHAR2(50) NOT NULL EmplName