GARN_DEDCD_VW

(SQL View)
Index Back

Garn Spec Deduction Codes

This view shows all garnishment deduction codes defined for a specific company in Company General Deductions table.

SELECT A.COMPANY ,A.EFFDT ,A.DEDCD ,B.DESCR ,B.DESCRSHORT FROM PS_GDED_COM_DEF A , PS_DEDUCTION_TBL B WHERE A.DEDCD = B.DEDCD AND B.SPCL_PROCESS = 'G' AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_DEDUCTION_TBL D WHERE D.PLAN_TYPE = B.PLAN_TYPE AND D.DEDCD = B.DEDCD AND D.EFFDT <= %CurrentDateIn)

  • Related Language Record: GARN_DEDCD_L_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
    2 EFFDT Date(10) DATE NOT NULL Effective Date

    Default Value: %date

    3 DEDCD Character(6) VARCHAR2(6) NOT NULL Deduction Code
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description