W3EB_HLTHDEP_LN

(SQL View)
Index Back

Health Dependent View

Dependent View for Health 1x transactions.

SELECT D.EMPLID , U.LANGUAGE_CD , D.EMPL_RCD , D.PLAN_TYPE , D.BENEFIT_NBR , D.EFFDT , D.DEPENDENT_BENEF , O.NAME , O.DEP_BENEF_TYPE , O.RELATIONSHIP , U.XLATLONGNAME FROM PS_HEALTH_DEPENDNT D , PS_HEALTH_BENEFIT G , PS_DEPENDENT_VW O , PSXLATITEMLANG U WHERE D.EMPLID = O.EMPLID AND D.EMPLID = G.EMPLID AND D.PLAN_TYPE = G.PLAN_TYPE AND D.EFFDT = G.EFFDT AND D.EMPL_RCD = G.EMPL_RCD AND D.BENEFIT_NBR = G.BENEFIT_NBR AND D.DEPENDENT_BENEF = O.DEPENDENT_BENEF AND U.FIELDNAME = 'RELATIONSHIP' AND O.RELATIONSHIP = U.FIELDVALUE AND %EffdtCheck(PSXLATITEMLANG, U, D.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
3 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
4 PLAN_TYPE Character(2) VARCHAR2(2) NOT NULL Identifies a category of benefit plan, such as Medical, Dental, and Life (Insurance). A set of plan type codes, as well as rules for creating new codes, is provided by PeopleSoft. Plan Type codes determine how the system processes and defines eligibility for the various benefit plans.
5 BENEFIT_NBR Number(3,0) SMALLINT NOT NULL Note! Although this field is part of the index schema for most Base Benefits enrollment-related records, it was in fact never functionally implemented. As such, it is CRITICAL that this field always be set to zero 0.
6 EFFDT Date(10) DATE Effective Date
7 DEPENDENT_BENEF Character(2) VARCHAR2(2) NOT NULL Dependent Benefit
01=default
8 NAME Character(50) VARCHAR2(50) NOT NULL Name
9 DEP_BENEF_TYPE Character(1) VARCHAR2(1) NOT NULL Dependent Beneficiary Type
B=Beneficiary
C=COBRA Dependent Only
D=Dependent
E=QDRO Estate
N=None
O=Both
Q=QDRO Representative - Employee
R=QDRO Representative -Recipient
10 RELATIONSHIP Character(2) VARCHAR2(2) NOT NULL Relationship to Employee
11 XLATLONGNAME Character(30) VARCHAR2(30) NOT NULL Translate Long Name