PY_MOD_CLS_L_VW

(SQL View)
Index Back

Rel. Lang. for PY_MOD_CLS_VW

This view is used to show the latest deduction classfns for the given plan type and deduction code.

SELECT DISTINCT A.PLAN_TYPE ,A.DEDCD ,A.DED_CLASS ,B.LANGUAGE_CD ,B.XLATLONGNAME FROM PS_DEDUCTION_CLASS A , XLATTABLE_LNG B WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_DEDUCTION_CLASS A_ED WHERE A.PLAN_TYPE = A_ED.PLAN_TYPE AND A.DED_CLASS IN ('A','B') AND A.DEDCD = A_ED.DEDCD AND A_ED.EFFDT <= %CurrentDateIn) AND B.FIELDNAME = 'DED_CLASS' AND B.FIELDVALUE = A.DED_CLASS AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM XLATTABLE_LNG B_ED WHERE B.FIELDNAME = B_ED.FIELDNAME AND B.FIELDVALUE = B_ED.FIELDVALUE AND B.LANGUAGE_CD = B_ED.LANGUAGE_CD AND B_ED.EFFDT <= %CurrentDateIn)

  • Related Language Record for PY_MOD_CLS_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 DEDCD Character(6) VARCHAR2(6) NOT NULL Deduction Code
    3 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
    4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description