DEP_BEN_NM_LNGV(SQL View) |
Index Back |
---|---|
Dep Ben Names language viewLanguage view for DEP_BEN_NAME_VW |
SELECT n.EMPLID , n.DEPENDENT_BENEF , n.LANGUAGE_CD , n.NAME , n.LAST_NAME , n.FIRST_NAME , n.NAME_DISPLAY , n.NAME_FORMAL , CASE WHEN b.BENEF_IND = 'E' THEN n.BEN_ENTITY_NAME ELSE n.NAME_DISPLAY END FROM PS_DEP_BEN_NAMELNG n , PS_DEP_BEN b WHERE n.EMPLID = b.EMPLID AND n.DEPENDENT_BENEF = b.DEPENDENT_BENEF AND n.EFFDT = ( SELECT MAX(n1.EFFDT) FROM PS_DEP_BEN_NAME n1 WHERE n1.EMPLID = n.EMPLID AND n1.DEPENDENT_BENEF = n.DEPENDENT_BENEF) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | DEPENDENT_BENEF | Character(2) | VARCHAR2(2) NOT NULL |
Dependent Benefit
01=default |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
5 | LAST_NAME | Character(30) | VARCHAR2(30) NOT NULL | Last Name |
6 | FIRST_NAME | Character(30) | VARCHAR2(30) NOT NULL | First Name |
7 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
8 | NAME_FORMAL | Character(60) | VARCHAR2(60) NOT NULL | Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence. |
9 | NAME_DEP_BEN | Character(100) | VARCHAR2(100) NOT NULL | Dependent Beneficiary Name for either individual or entity |