DEP_BEN_NAME_VW

(SQL View)
Index Back

Dep Ben Names

Dependent Beneficiary Name - NAME_DEP_BEN stores enttiy or individual names.

SELECT n.EMPLID ,n.DEPENDENT_BENEF ,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.FIRST_NAME || ' ' || n.LAST_NAME END FROM PS_DEP_BEN_NAME 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)

  • Related Language Record: DEP_BEN_NM_LNGV
  • # 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 NAME Character(50) VARCHAR2(50) NOT NULL Name
    4 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
    5 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
    6 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
    7 NAME_FORMAL Character(60) VARCHAR2(60) NOT NULL Formal Name - name formatted for Formal Display by COuntry. Normally used in Correspondence.
    8 NAME_DEP_BEN Character(100) VARCHAR2(100) NOT NULL Dependent Beneficiary Name for either individual or entity