BN_RTPLN_VW_LNG(SQL View) |
Index Back |
---|---|
Rate-driven Ben Plan Vw - LangThis related language 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 ,LANGUAGE_CD ,P.DESCRSHORT FROM PS_BENEF_PLAN_LANG 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |