PY_MOD_DCL_SSVW(SQL View) |
Index Back |
---|---|
Paychk Mod Ded ClassesThis view is used to show the latest deduction classes by company/paygroup |
SELECT DISTINCT A.COMPANY , A.PAYGROUP , A.PLAN_TYPE , A.DEDCD , A.DED_CLASS , B.DED_SLSTX_CLASS FROM PS_PY_MOD_PGRP_DED A , PS_DEDUCTION_CLASS B WHERE B.PLAN_TYPE = A.PLAN_TYPE AND B.DEDCD = A.DEDCD AND B.DED_CLASS IN ('A','B') AND B.EFFDT = ( SELECT MAX(B_ED.EFFDT) FROM PS_DEDUCTION_CLASS B_ED WHERE B.PLAN_TYPE = B_ED.PLAN_TYPE AND B.DEDCD = B_ED.DEDCD AND B_ED.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
2 | PAYGROUP | Character(3) | VARCHAR2(3) NOT NULL | Pay Group |
3 | 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. |
4 | DEDCD | Character(6) | VARCHAR2(6) NOT NULL | Deduction Code |
5 | 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 |
6 | 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 |