PY_MOD_DEDXXLVW

(SQL View)
Index Back

Rel. Lang. for PY_MOD_DEDXX_VW

This view combines PY_MOD_PGRP_ERN and DEDUCTIONS_TBL.

SELECT DISTINCT a.plan_type , ' ' , a.dedcd , b.ded_class , a.language_cd , a.descr FROM ps_deduction_lang a , ps_deduction_class b WHERE a.plan_type = '00' AND a.effdt = ( SELECT MAX(B_ED.EFFDT) FROM PS_DEDUCTION_LANG B_ED WHERE a.plan_type = B_ED.PLAN_TYPE AND a.dedcd = B_ED.DEDCD AND a.language_cd = B_ED.LANGUAGE_CD AND B_ED.EFFDT <= %CurrentDateIn) AND a.plan_type = b.plan_type AND a.dedcd = b.dedcd AND b.ded_class IN('A', 'B') UNION SELECT DISTINCT a.plan_type , a.benefit_plan , a.dedcd , c.ded_class , a.language_cd , a.descr FROM PS_PY_MOD_BEND_LVW a , ps_deduction_tbl b , ps_deduction_class c WHERE a.plan_type = b.plan_type AND a.dedcd = b.dedcd AND b.effdt = ( SELECT MAX(C_ED.EFFDT) FROM PS_DEDUCTION_TBL C_ED WHERE b.plan_type = C_ED.PLAN_TYPE AND b.dedcd = C_ED.DEDCD AND C_ED.EFFDT <= %CurrentDateIn) AND a.plan_type = c.plan_type AND a.dedcd = c.dedcd AND c.ded_class IN('A', 'B')

  • Related Language Record for PY_MOD_DEDXX_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 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.
    2 BENEFIT_PLAN Character(6) VARCHAR2(6) NOT NULL Benefit Plan
    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
    5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    6 DESCR Character(30) VARCHAR2(30) NOT NULL Description