BN_RATE_PLNS_VW(SQL View) |
Index Back |
---|---|
Rate-driven Benefit Plans ViewThis view returns only Benefit Plans that may have their costs associated with Rates. This includes the AX (Simple Benefits), 1X (Health), 2X (Life), and 3X (Disability) Plan Types. The view is intended as a prompt table for the Benefit Plan key in Benefit Rate Tables. |
SELECT P.BENEFIT_PLAN ,P.PLAN_TYPE ,P.DESCRSHORT FROM PS_BENEF_PLAN_TBL P WHERE (P.PLAN_TYPE LIKE 'A%' OR P.PLAN_TYPE LIKE '1%' OR P.PLAN_TYPE LIKE '2%' OR P.PLAN_TYPE LIKE '3%') AND P.EFFDT=( SELECT MAX(X.EFFDT) FROM PS_BENEF_PLAN_TBL X WHERE X.PLAN_TYPE=P.PLAN_TYPE AND X.BENEFIT_PLAN=P.BENEFIT_PLAN) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL | Benefit Plan |
2 | 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. |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |