PY_NY_DPB_PL_VW

(SQL View)
Index Back

Plan Type for DPB View

Plan Type for DPB view, to be used as a prompt table.

SELECT DISTINCT A.TAX_GRS_COMPNT , A.PLAN_TYPE , A.DEDCD , A.DED_CLASS FROM PS_DEDUCTION_CLASS A , PS_PY_NY_TXGRCM_VW B WHERE A.TAX_GRS_COMPNT<>' ' AND A.TAX_GRS_COMPNT=B.TAX_GRS_COMPNT AND A.EFFDT=( SELECT MAX (C.EFFDT) FROM PS_DEDUCTION_CLASS C WHERE C.PLAN_TYPE=A.PLAN_TYPE AND C.DEDCD=A.DEDCD AND C.EFFDT=A.EFFDT AND C.DED_CLASS=A.DED_CLASS AND C.DED_SLSTX_CLASS=A.DED_SLSTX_CLASS)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TAX_GRS_COMPNT Character(5) VARCHAR2(5) NOT NULL Taxable gross component ID.
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 DEDCD Character(6) VARCHAR2(6) NOT NULL Deduction Code
4 DED_CLASS Character(1) VARCHAR2(1) NOT NULL Deduction Classification
A=After-Tax
B=Before-Tax
L=QC Taxable Benefit
N=Nontaxable Benefit
P=Nontaxable Btax Benefit
T=Taxable Benefit