GDED_COM_DEF_VW(SQL View) |
Index Back |
---|---|
Genl deductions for a companyThis record contains the general deduction detail for a company |
SELECT A.COMPANY , A.EFFDT , A.DEDCD , B.DESCR FROM PS_GDED_COM_DEF A , PS_DEDUCTION_TBL B WHERE A.DEDCD=B.DEDCD AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_DEDUCTION_TBL WHERE PLAN_TYPE = B.PLAN_TYPE AND DEDCD = B.DEDCD AND EFFDT <= A.EFFDT) |
# | 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 |