DED_GARN_LNG_VW(SQL View) |
Index Back |
---|---|
Vw - DedCd - Garnish. RelLangThis view is used to review general deductions by deduction code for related language. |
SELECT L.PLAN_TYPE ,L.DEDCD ,L.LANGUAGE_CD ,L.DESCR ,L.DESCRSHORT FROM PS_DEDUCTION_LANG L , PS_DEDUCTION_TBL T WHERE L.PLAN_TYPE = T.PLAN_TYPE AND L.EFFDT = T.EFFDT AND T.SPCL_PROCESS = 'G' AND L.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_DEDUCTION_LANG D WHERE D.DEDCD = L.DEDCD AND D.EFFDT <= %CurrentDateIn) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |