PA_BEN_PLAN_VW(SQL View) |
Index Back |
---|---|
Benefit Admin Plan View |
SELECT DISTINCT A.BENEFIT_PLAN , A.PLAN_TYPE , C.EFFDT , A.DESCR , C.PENSION_TYPE FROM PS_BENEF_PLAN_TBL A , PS_PENSION_PLN_TBL C WHERE A.PLAN_TYPE LIKE '8%' AND C.PENSION_TYPE IN ('N','Q') AND A.BENEFIT_PLAN = C.BENEFIT_PLAN AND A.PLAN_TYPE = C.PLAN_TYPE AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_BENEF_PLAN_TBL D WHERE C.PLAN_TYPE = D.PLAN_TYPE AND C.BENEFIT_PLAN = D.BENEFIT_PLAN) AND C.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_PENSION_PLN_TBL E WHERE C.PLAN_TYPE = E.PLAN_TYPE AND C.BENEFIT_PLAN = E.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 | EFFDT | Date(10) | DATE | Effective Date |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | PENSION_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Pension Type
B=Defined Benefit M=Money Purchase N=Non Qualified Q=Qualified |