GPUS_FWT_CO_VW(SQL View) |
Index Back |
---|---|
Companies for Federal Tax DataView used in order to prompt on companies the employee is hired for the Federal Tax Data transaction. |
SELECT DISTINCT A.EMPLID , A.COMPANY FROM PS_JOB A WHERE A.EFFDT = ( SELECT MAX(A2.EFFDT) FROM PS_JOB A2 WHERE A2.EMPLID=A.EMPLID AND A2.EMPL_RCD=A.EMPL_RCD AND A2.EFFDT <= %CurrentDateIn ) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_JOB A2 WHERE A2.EMPLID=A.EMPLID AND A2.EMPL_RCD=A.EMPL_RCD AND A2.EFFDT=A.EFFDT ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |