LV_LCTAX_STP_VW(SQL View) |
Index Back |
---|---|
EE Lived Local Tax ViewThis view is used to record employee tax data for each locality in which the employee works and for which tax withholding is required. |
SELECT A.EMPLID ,A.COMPANY ,A.EFFDT ,A.STATE ,A.LOCALITY FROM PS_LOCAL_TAX_DATA A WHERE A.RESIDENT = 'Y' AND A.EFFDT < ( SELECT MAX(B.EFFDT) FROM PS_LOCAL_TAX_DATA B WHERE A.EMPLID = B.EMPLID AND B.RESIDENT = 'Y' AND A.LOCALITY <> B.LOCALITY) |
# | 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 |
3 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
4 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
5 | LOCALITY | Character(10) | VARCHAR2(10) NOT NULL | Locality |