HRS_RECR_PERS_I(SQL View) |
Index Back |
---|---|
Interface View for Curr PRI NMThis view retrieves the currently effective Names record for all the Primary Name. Only one row per emplid is returned. The EFFDT is included only for reference back to NAMES as ASOFDATE. No Query Security record is specified because in query this would be one of the joined in records. The main record should contain the query security. |
SELECT DISTINCT A.EMPLID , A.NAME_DISPLAY , A.NAME_TYPE , A.ASOFDATE FROM PS_HRS_PERSON_NM_I A , PS_ROLEUSER_VW C WHERE A.EMPLID = C.EMPLID AND (EXISTS ( SELECT 'X' FROM PS_HRS_ACTJOB_I WHERE EMPLID = C.EMPLID) OR EXISTS ( SELECT 'X' FROM PS_HRS_ACTPOI_I WHERE EMPLID = C.EMPLID)) AND C.EMPLID <> ' ' AND C.ROLENAME IN ( SELECT D.ROLENAME FROM PS_HRS_JO_RCTR_RL D) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
3 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: NAME_TYPE_TBL |
4 | ASOFDATE | Date(10) | DATE | As of Date |