SPCL_DEDCD_VW

(SQL View)
Index Back

Special Accum/Deduction Table

This view lists deductions codes grouped by special accumulator earnings codes.

SELECT a.erncd_spcl ,b.dedcd ,a.spcl_effect ,a.ded_class ,a.ded_slstx_class ,a.effdt ,b.descr ,b.descrshort FROM ps_earns_spcl_dedn a ,PS_DEDUCTION_TBL b WHERE a.plan_type = b.plan_type AND a.dedcd = b.dedcd AND a.effdt = b.effdt AND b.effdt = ( SELECT MAX(effdt) FROM PS_DEDUCTION_TBL c WHERE c.plan_type = b.plan_type AND c.dedcd = b.dedcd)

  • Related Language Record: SPCL_DED_LNG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 ERNCD_SPCL Character(3) VARCHAR2(3) NOT NULL Special Accumulator Code
    2 DEDCD Character(6) VARCHAR2(6) NOT NULL Deduction Code
    3 SPCL_EFFECT Character(1) VARCHAR2(1) NOT NULL Effect on Special Balance
    A=Adds to Special Balance
    S=Subtracts from Special Balance
    T=Adds TXGRS to Special Balance
    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 DED_SLSTX_CLASS Character(1) VARCHAR2(1) NOT NULL Sales Tax Type
    B=None
    G=Goods and Services Tax
    H=Harmonized Sales Tax
    I=Provincial Sales Tax Insurance
    P=Provincial Sales Tax
    Q=QC Prov Sales Tax Insurance
    S=QC Provincial Sales Tax
    T=Provincial Premium Tax
    U=QC Provincial Premium Tax
    6 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    8 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description