BAS_CMP_PFNT_LV

(SQL View)
Index Back

Plan Compare Display Data


SELECT A.BENEFIT_PROGRAM , A.PLAN_TYPE , A.BENEFIT_PLAN , A.EFFDT , A.BAS_CMP_SEC_PTYPE , A.BAS_CMP_SECT_ID , A.BAS_CMP_ATT_PTYPE , A.BAS_CMP_ATTR_ID , A.BAS_CMP_ITEM_ID , A.BAS_CMP_FNOTE_ID , B.LANGUAGE_CD , B.BAS_CMP_FNOTE FROM PS_BAS_CMP_PLN_FNT A , PS_BAS_CMP_FOOT_LN B WHERE A.BENEFIT_PROGRAM = B.BENEFIT_PROGRAM AND A.PLAN_TYPE = B.PLAN_TYPE AND A.BAS_CMP_FNOTE_ID = B.BAS_CMP_FNOTE_ID AND B.EFFDT = ( SELECT MAX (B1.EFFDT) FROM PS_BAS_CMP_FOOTIDS B1 WHERE B1.BENEFIT_PROGRAM = B.BENEFIT_PROGRAM AND B1.PLAN_TYPE = B.PLAN_TYPE AND B1.EFFDT <= A.EFFDT)

# 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.

Prompt Table: BEN_DEFN_PGM

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 BENEFIT_PLAN Character(6) VARCHAR2(6) NOT NULL Benefit Plan
4 EFFDT Date(10) DATE NOT NULL Effective Date
5 BAS_CMP_SEC_PTYPE 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 BAS_CMP_SECT_ID Character(5) VARCHAR2(5) NOT NULL Section ID
7 BAS_CMP_ATT_PTYPE 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.
8 BAS_CMP_ATTR_ID Character(5) VARCHAR2(5) NOT NULL Attribute ID
9 BAS_CMP_ITEM_ID Character(5) VARCHAR2(5) NOT NULL Item ID
10 BAS_CMP_FNOTE_ID Character(2) VARCHAR2(2) NOT NULL Footnote ID
11 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
12 BAS_CMP_FNOTE Long Character CLOB Description