CBR_DEP_VW(SQL View) |
Index Back |
---|---|
Eligible Dependents for COBRACBR_Dep_Vw is a view based on the CBR_Partic_Plan record. It is used as a prompt table during data entry of COBRA elections. It ensures that the eligible dependents allowed for a COBRA participant's COBRA election are limited to those dependents who are also COBRA qualified for the plan type for the same COBRA event. |
SELECT A.EMPLID , A.BENEFIT_RCD_NBR , A.COBRA_EVENT_ID , A.DEPENDENT_BENEF , A.PLAN_TYPE , B.DEPENDENT_BENEF , D.NAME , D.RELATIONSHIP FROM PS_CBR_PARTIC_PLAN A , PS_CBR_PARTIC_PLAN B , PS_DEPENDENT_BENEF D WHERE A.EMPLID = B.EMPLID AND A.BENEFIT_RCD_NBR = B.BENEFIT_RCD_NBR AND A.COBRA_EVENT_ID = B.COBRA_EVENT_ID AND A.PLAN_TYPE = B.PLAN_TYPE AND A.DEPENDENT_BENEF <> B.DEPENDENT_BENEF AND B.DEPENDENT_BENEF <> '00' AND D.EMPLID = B.EMPLID AND D.DEPENDENT_BENEF = B.DEPENDENT_BENEF |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | BENEFIT_RCD_NBR | Number(3,0) | SMALLINT NOT NULL | Specifies a sequence number associated with each of multiple concurrent jobs for a one employee. It is used to determine the applicable benefit program for each job. The first job entered for an employee is automatically assigned a Benefit Record Number of zero (0). This field is linked with EMPL_RCD#, the Employment Record Number. |
3 | COBRA_EVENT_ID | Number(3,0) | SMALLINT NOT NULL | Uniquely identifies a COBRA event within an employee's benefits records, and is system-generated. |
4 | DEPENDENT_BENEF | Character(2) | VARCHAR2(2) NOT NULL |
Dependent Benefit
01=default |
5 | 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. |
6 | COBRA_DEP_BENEF | Character(2) | VARCHAR2(2) NOT NULL | Dependent |
7 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
8 | RELATIONSHIP | Character(2) | VARCHAR2(2) NOT NULL | Relationship to Employee |