SCC_TM_NAMES_VW(SQL View) |
Index Back |
---|---|
Effective Dated Names VwThis view retrieves the currently effective Names record for each Name Type. |
SELECT A.EMPLID ,A.NAME_TYPE ,A.NAME_DISPLAY FROM PS_NAMES A WHERE A.NAME_TYPE IN ('PRI','PRF') 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
Prompt Table: PEOPLE_SRCH |
2 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: HCR_NM_TYP_I |
3 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |