BEN_PLNLNK_VW(SQL View) |
Index Back |
---|---|
Benefit Plan LinksBenefit Plan handbook links per employee |
SELECT A.EMPLID ,A.EMPL_RCD ,A.COBRA_EVENT_ID ,A.BENEFIT_PROGRAM ,C.EFFDT , C.PLAN_TYPE ,C.HANDBOOK_URL_ID FROM PS_BEN_PROG_PARTIC A , PS_BEN_DEFN_PLAN C WHERE A.BENEFIT_PROGRAM = C.BENEFIT_PROGRAM AND C.EFFDT = ( SELECT MAX(CC.EFFDT) FROM PS_BEN_DEFN_PLAN CC WHERE CC.BENEFIT_PROGRAM = C.BENEFIT_PROGRAM AND CC.EFFDT <= %CurrentDateIn) |
# | 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 Record |
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 | BENEFIT_PROGRAM | Character(3) | VARCHAR2(3) NOT NULL | Defines a collection of benefit plans and their associated rate and calculation rules. |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | 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. |
7 | HANDBOOK_URL_ID | Character(30) | VARCHAR2(30) NOT NULL | This field holds the ID of a URL object. The URL object points to the companies enrollment handbook. |