GARN_DEDCD_L_VW(SQL View) |
Index Back |
---|---|
Garn Spec Ded RelLangThis related language view shows all garnishment deduction codes defined for a specific company in Company General Deductions table. |
SELECT A.COMPANY ,A.EFFDT ,A.DEDCD ,B.LANGUAGE_CD ,B.DESCR ,B.DESCRSHORT FROM PS_GDED_COM_DEF A , PS_DEDUCTION_LANG B , PS_DEDUCTION_TBL C WHERE A.DEDCD = B.DEDCD AND B.DEDCD = C.DEDCD AND C.SPCL_PROCESS = 'G' AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_DEDUCTION_LANG D WHERE D.PLAN_TYPE = B.PLAN_TYPE AND D.DEDCD = B.DEDCD AND D.LANGUAGE_CD = B.LANGUAGE_CD AND D.EFFDT <= %CurrentDateIn) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |