HRS_ACT_PRS_VW4(SQL View) |
Index Back |
---|---|
view for curr active employeesview for curr active employees 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 A.EMPLID ,A.FIRST_NAME ,A.LAST_NAME ,A.NAME_DISPLAY ,A.NAME_TYPE ,A.EFFDT FROM PS_NAMES A WHERE 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
Prompt Table: PERSON |
2 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
3 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
4 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
5 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: NAME_TYPE_TBL |
6 | ASOFDATE | Date(10) | DATE | As of Date |