DEP_BENEF_VW

(SQL View)
Index Back

EE Dependent Only View

DEP_BENEF_VW is a select-only view used to display an employee's dependent's current health coverage status. This view accesses fields from the PS_HEALTH_DEPENDENT table, and is used by the Health Benefits 2 panel.

SELECT emplid ,dependent_benef ,NAME ,relationship ,dep_benef_type ,mar_status ,mar_status_dt ,birthdate ,dt_of_death ,student ,student_status_dt ,disabled ,depben_rider_flg ,gvt_fehb_ind FROM PS_DEPENDENT_VW WHERE dependent_benef <> '00'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSON_NAME

2 DEPENDENT_BENEF Character(2) VARCHAR2(2) NOT NULL Dependent Benefit
01=default

Default Value: 01

3 NAME Character(50) VARCHAR2(50) NOT NULL Name
4 RELATIONSHIP Character(2) VARCHAR2(2) NOT NULL Relationship to Employee

Default Value: O

5 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

Default Value: D

6 MAR_STATUS Character(1) VARCHAR2(1) NOT NULL Marital Status
C=Common-Law
D=Divorced
E=Separated
H=Head of Household
L=DissDeclLost Civil Partner
M=Married
P=Civil Partnership
S=Single
T=Surviving Civil Partner
U=Unknown
V=Dissolved Civil Partnership
W=Widowed
7 MAR_STATUS_DT Date(10) DATE This is the date that the employee's Marital status is/was effective. /* Marital Status date is stored redundantly on PERS_DATA_EFFDT for two reasons. 1. To allow the date to be entered prior to the first PERS_DATA_EFFDT so that the actual date for the marital status on the hire row can be entered. This is the only time that the field is enterable by the user. 2. To allow for easier reporting on the data via SQR and Crystal. This is denormalizing the PERS_DATA_EFFDT record, but the number of requests for this redundancy coupled with the need for #1, has provided the justification for denormalizing this information and taking on the added maintenance. */
8 BIRTHDATE Date(10) DATE Date of Birth
9 DT_OF_DEATH Date(10) DATE Date of Death
10 STUDENT Character(1) VARCHAR2(1) NOT NULL Student
N=No
Y=Yes
11 STUDENT_STATUS_DT Date(10) DATE Student Status Date
12 DISABLED Character(1) VARCHAR2(1) NOT NULL A flag that indicates whether or not (Y or N) a dependent is a disabled.
13 DEPBEN_RIDER_FLG Character(1) VARCHAR2(1) NOT NULL Court Order Flag
14 GVT_FEHB_IND Character(1) VARCHAR2(1) NOT NULL FEHB Participant