EMPLID_1099R_VW(SQL View) |
Index Back |
---|---|
Retiree SearchSearch for EMPLIDs with Company of 1099R for 1099R processing. |
SELECT A.EMPLID , A.EFFDT , A.COMPANY FROM PS_JOB A , PS_COMPANY_TBL B WHERE A.COMPANY = B.COMPANY AND B.TAX_REPORT_TYPE = 'R' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_JOB C WHERE A.EMPLID = C.EMPLID AND A.EMPL_RCD = C.EMPL_RCD AND A.COMPANY = C.COMPANY AND C.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |