HR_NAME_RTI_LVW(SQL View) |
Index Back |
---|---|
Person Names Related LanguageRelated language table for the NAMES record to store translated versions of the NAME, NAME_DISPLAY, NAME_FORMAL and NAME_DISPLAY_SRCH fields. |
SELECT N.EMPLID , N.NAME_TYPE , N.LANGUAGE_CD , N.EFFDT , COALESCE(NL.NAME , N.NAME , ' ') , COALESCE(NL.LAST_NAME , N.LAST_NAME , ' ') , COALESCE(NL.FIRST_NAME , N.FIRST_NAME , ' ') , COALESCE(NL.MIDDLE_NAME , N.MIDDLE_NAME , ' ') , COALESCE(NL.SECOND_LAST_NAME , N.SECOND_LAST_NAME , ' ') , COALESCE(NL.PARTNER_LAST_NAME , N.PARTNER_LAST_NAME , ' ') , COALESCE(NL.PREF_LAST_NAME , N.PREF_LAST_NAME , ' ') , COALESCE(NL.PREF_MIDDLE_NAME , N.PREF_MIDDLE_NAME , ' ') , COALESCE(NL.PREF_SEC_LAST_NAME , N.PREF_SEC_LAST_NAME , ' ') , COALESCE(NL.NAME_AC , N.NAME_AC , ' ') , COALESCE(NL.NAME_DISPLAY , N.NAME_DISPLAY , ' ') , COALESCE(NL.NAME_FORMAL , N.NAME_FORMAL , ' ') , COALESCE(NL.NAME_FORMAL_PSF , N.NAME_FORMAL_PSF , ' ') , COALESCE(NL.LAST_NAME_SRCH , N.LAST_NAME_SRCH , ' ') , COALESCE(NL.FIRST_NAME_SRCH , N.FIRST_NAME_SRCH , ' ') , COALESCE(NL.MIDDLE_NAME_SRCH , N.MIDDLE_NAME_SRCH , ' ') , COALESCE(NL.SECOND_LAST_SRCH , N.SECOND_LAST_SRCH , ' ') , COALESCE(NL.PARTN_LAST_NM_SRCH , N.PARTN_LAST_NM_SRCH , ' ') , COALESCE(NL.PREF_LAST_NM_SRCH , N.PREF_LAST_NM_SRCH , ' ') , COALESCE(NL.PREF_FIRST_NM_SRCH , N.PREF_FIRST_NM_SRCH , ' ') , COALESCE(NL.PREF_MIDL_NM_SRCH , N.PREF_MIDL_NM_SRCH , ' ') , COALESCE(NL.PREF_LAST_SEC_SRCH , N.PREF_LAST_SEC_SRCH , ' ') , COALESCE(NL.NAME_DISPLAY_SRCH , N.NAME_DISPLAY_SRCH , ' ') , COALESCE(NL.NAME_FORMAL_SRCH , N.NAME_FORMAL_SRCH , ' ') , COALESCE(NL.PREF_FIRST_NAME , N.PREF_FIRST_NAME , ' ') FROM PS_HR_NAME_RTI_LN1 N LEFT OUTER JOIN PS_NAMES_LNG NL ON N.EMPLID = NL.EMPLID AND N.NAME_TYPE = NL.NAME_TYPE AND N.LANGUAGE_CD = NL.LANGUAGE_CD AND N.EFFDT = NL.EFFDT |
# | 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_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Type of Name
Prompt Table: NAME_TYPE_TBL |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
5 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
6 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
7 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
8 | MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | MIDDLE_NAME |
9 | SECOND_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
10 | PARTNER_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | The Partner Last Name is being used by the Netherlands for the employee name formatting, where a person can choose to use the partners last name as their prefered last name. |
11 | PREF_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Last Name |
12 | PREF_MIDDLE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Middle Name |
13 | PREF_SEC_LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred Second Last Name |
14 | NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Alternate Character Name |
15 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
16 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
17 | NAME_FORMAL_PSF | Character(60) | VARCHAR2(60) NOT NULL | Preferred Name (PS FORMAT) |
18 | LAST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
19 | FIRST_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | First Name |
20 | MIDDLE_NAME_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Middle Name uppercase search field |
21 | SECOND_LAST_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Second Last Name |
22 | PARTN_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of partner last name to improve performance on searches. |
23 | PREF_LAST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred last name to improve performance on searches. |
24 | PREF_FIRST_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |
25 | PREF_MIDL_NM_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred middle name to improve performance on searches. |
26 | PREF_LAST_SEC_SRCH | Character(30) | VARCHAR2(30) NOT NULL | Uppercase version of preferred second last name to improve performance on searches. |
27 | NAME_DISPLAY_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Uppercase version of Name to improve performance on searches. |
28 | NAME_FORMAL_SRCH | Character(60) | VARCHAR2(60) NOT NULL | Uppercase version of formal name to improve performance on searches. |
29 | PREF_FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Preferred First Name |