HR_RW_USR_VW

(SQL View)
Index Back

Approval Requestor Name

Used to display remote worker requestors name.

SELECT RW.EMPLID , RW.EMPL_RCD , RW.START_DATE , RW.END_DATE , A.NAME_DISPLAY , A.NAME_DISPLAY_SRCH , A.NAME_TYPE , A.EFFDT , A.NAME FROM PS_HR_RWORK_TBL RW , PS_NAMES A WHERE RW.EMPLID = A.EMPLID AND A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_NAMES B WHERE B.EMPLID = A.EMPLID AND B.NAME_TYPE = A.NAME_TYPE AND B.EFFDT <= %CurrentDateIn )

# 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 START_DATE Date(10) DATE Start Date for Gen Standing PO
4 END_DATE Date(10) DATE End Date
5 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
6 NAME_DISPLAY_SRCH Character(50) VARCHAR2(50) NOT NULL Uppercase version of Name to improve performance on searches.
7 NAME_TYPE Character(3) VARCHAR2(3) NOT NULL Type of Name

Prompt Table: NAME_TYPE_TBL

8 ASOFDATE Date(10) DATE As of Date
9 NAME_PSFORMAT Character(50) VARCHAR2(50) NOT NULL A Person's name in the Peoplesoft Format (basically LN,FN MI