HR_OWS_NAME_VW(SQL View) |
Index Back |
---|---|
Person OWS NamesOracle Workforce Scheduling Person Names |
SELECT A.EMPLID , A.NAME_TYPE , A.EFFDT , A.EFF_STATUS , A.NAME_PREFIX , A.FIRST_NAME , A.MIDDLE_NAME , A.LAST_NAME , A.NAME_SUFFIX FROM PS_NAMES A WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_NAMES A1 WHERE A1.EMPLID = A.EMPLID AND A1.NAME_TYPE = A.NAME_TYPE AND A1.EFF_STATUS = 'A' AND A1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | NAME_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: NAME_TYPE_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | NAME_PREFIX | Character(4) | VARCHAR2(4) NOT NULL |
Name Prefix
Prompt Table: NAME_PREFIX_TBL |
6 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
7 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
8 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
9 | NAME_SUFFIX | Character(15) | VARCHAR2(15) NOT NULL | Name Suffix |