W3EB_HLTHDEP_VW

(SQL View)
Index Back

Health Dependent View

Dependent View for Health 1x transactions.

SELECT D.EMPLID , D.EMPL_RCD , D.PLAN_TYPE , D.BENEFIT_NBR , D.EFFDT , O.EFFDT , P.EFFDT , D.DEPENDENT_BENEF , O.NAME , P.DEP_BENEF_TYPE , P.RELATIONSHIP FROM PS_HEALTH_DEPENDNT D , PS_HEALTH_BENEFIT G , PS_DEP_BEN_NAME O , PS_DEP_BEN_EFF P WHERE D.EMPLID = O.EMPLID AND D.EMPLID = G.EMPLID AND G.EMPLID = P.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 P.DEPENDENT_BENEF = O.DEPENDENT_BENEF

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 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.
4 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.
5 EFFDT Date(10) DATE Effective Date
6 EFFDT_NM Date(10) DATE Field for keeping the effdt for names field for a duplicate row check.
7 EFFDT_NEW Date(10) DATE New Effective Date
8 DEPENDENT_BENEF Character(2) VARCHAR2(2) NOT NULL Dependent Benefit
01=default
9 NAME Character(50) VARCHAR2(50) NOT NULL Name
10 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
11 RELATIONSHIP Character(2) VARCHAR2(2) NOT NULL Relationship to Employee