BEN_PLN_EFF_VW

(SQL View)
Index Back

Vw - Ben Plan - DT Effect

This view is used for Cross Benefit Plan Validation.

SELECT DISTINCT A.BENEFIT_PROGRAM ,A.PLAN_TYPE ,B.BENEFIT_PLAN ,A.EFFDT ,B.DESCRSHORT FROM PS_BEN_DEFN_OPTN A ,PS_BENEF_PLAN_TBL B WHERE A.PLAN_TYPE = B.PLAN_TYPE AND A.BENEFIT_PLAN = B.BENEFIT_PLAN AND B.EFFDT = (SELECT MAX (B1.EFFDT) FROM PS_BENEF_PLAN_TBL B1 WHERE B1.PLAN_TYPE = B.PLAN_TYPE AND B1.BENEFIT_PLAN = B.BENEFIT_PLAN AND B1.EFFDT <= A.EFFDT)

  • Related Language Record: BEN_PLNEFF_LANG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BENEFIT_PROGRAM Character(3) VARCHAR2(3) NOT NULL Defines a collection of benefit plans and their associated rate and calculation rules.
    2 CROSS_PLAN_TYPE Character(2) VARCHAR2(2) NOT NULL Cross Plan Type
    3 BENEFIT_PLAN Character(6) VARCHAR2(6) NOT NULL Benefit Plan
    4 EFFDT Date(10) DATE Effective Date
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description