POI_SEC_SRNM_LN(SQL View) |
Index Back |
---|---|
Rel Lang for EMP_SRCH_COR_FLRelated language record for EMP_SRCH_COR_FL |
SELECT OPR.OPRID ,SEC.EMPLID ,SEC.POI_TYPE ,NM.LANGUAGE_CD ,NM.NAME ,NM.NAME_DISPLAY_SRCH ,NM.LAST_NAME_SRCH ,NM.SECOND_LAST_SRCH ,NM.FIRST_NAME ,NM.LAST_NAME ,NM.SECOND_LAST_NAME ,NM.NAME_AC ,NM.MIDDLE_NAME ,NM.PREF_FIRST_NAME ,NM.PREF_FIRST_NM_SRCH , NM.PREF_MIDDLE_NAME , NM.PREF_MIDL_NM_SRCH , NM.PREF_LAST_NAME , NM.PREF_LAST_NM_SRCH , NM.PREF_SEC_LAST_NAME , NM.PREF_LAST_SEC_SRCH ,NM.NAME_DISPLAY ,NM.NAME_FORMAL ,NM.NAME_FORMAL_SRCH FROM PS_SJT_PERSON SEC , PS_NAMES_LNG NM , PSOPRDEFN OPR WHERE NM.EMPLID = SEC.EMPLID AND NM.NAME_TYPE = 'PRI' AND NM.EFFDT = ( SELECT MAX(NM1.EFFDT) FROM PS_NAMES NM1 WHERE NM1.EMPLID = NM.EMPLID AND NM1.NAME_TYPE = 'PRI' AND NM1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
3 | POI_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Defines the Transactional usage of POIs in HRMS. |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
7 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
8 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
9 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
10 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
11 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
12 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
13 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
14 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
15 | PREF_FIRST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
16 | PREF_MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Middle Name |
17 | PREF_MIDL_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred middle name to improve performance on searches. |
18 | PREF_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Last Name |
19 | PREF_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred last name to improve performance on searches. |
20 | PREF_SEC_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Second Last Name |
21 | PREF_LAST_SEC_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred second last name to improve performance on searches. |
22 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
23 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
24 | NAME_FORMAL_SRCH | Character(60) | VARCHAR2(60) NOT NULL | Uppercase version of formal name to improve performance on searches. |