PY_W2_COMP_VW(SQL View) |
Index Back |
---|---|
W2 Company table view |
SELECT A.COMPANY , A.DESCR FROM PS_COMPANY_TBL A WHERE A.TAX_REPORT_TYPE IN ('2','P') AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_COMPANY_TBL B WHERE B.COMPANY = A.COMPANY AND B.EFFDT <= %CurrentDateIn AND B.EFF_STATUS = 'A') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | W2_REPORTING_CO | Character(3) | VARCHAR2(3) NOT NULL | Reporting Company |
2 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |