EMPL_SRNM_LNG(SQL View) |
Index Back |
---|---|
Rel Lang for search viewsRelated language record for PERACT_SEC_SRNM and other search views. |
SELECT O.OPRID , B.EMPLID , B.EMPL_RCD , A.LANGUAGE_CD , A.NAME_DISPLAY , A.NAME_DISPLAY_SRCH , A.NAME_FORMAL , A.NAME_FORMAL_SRCH , A.NAME , A.NAME_FORMAL_PSF , A.LAST_NAME_SRCH , A.SECOND_LAST_SRCH , A.PREF_LAST_NM_SRCH , A.PREF_LAST_SEC_SRCH , A.FIRST_NAME , A.MIDDLE_NAME , A.LAST_NAME , A.SECOND_LAST_NAME , A.PREF_FIRST_NAME , A.PREF_MIDDLE_NAME , A.PREF_LAST_NAME , A.PREF_SEC_LAST_NAME , A.NAME_AC , A.NAME_DISPLAY FROM PSOPRDEFN O, PS_PER_ORG_ASGN B , PS_NAMES_LNG A WHERE A.EMPLID = B.EMPLID AND A.NAME_TYPE = 'PRI' AND A.EFFDT = ( SELECT MAX(AA.EFFDT) FROM PS_NAMES_LNG AA WHERE AA.EMPLID = A.EMPLID AND AA.NAME_TYPE = A.NAME_TYPE AND AA.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 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
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 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
8 | NAME_FORMAL_SRCH | Character(60) | VARCHAR2(60) NOT NULL | Uppercase version of formal name to improve performance on searches. |
9 | NAME_PSFORMAT | Character(50) | VARCHAR2(50) NOT NULL | A Person's name in the Peoplesoft Format (basically LN,FN MI |
10 | NAME_FORMAL_PSF | Character(60) | VARCHAR2(60) NOT NULL | Preferred Name (PS FORMAT) |
11 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
12 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
13 | PREF_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred last name to improve performance on searches. |
14 | PREF_LAST_SEC_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred second last name to improve performance on searches. |
15 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
16 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
17 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
18 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
19 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
20 | PREF_MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Middle Name |
21 | PREF_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Last Name |
22 | PREF_SEC_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Second Last Name |
23 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
24 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |