PY_MOD_EMPTX_VW(SQL View) |
Index Back |
---|---|
Employee TaxDefines the states/localities employee is tax. |
SELECT DISTINCT A.EMPLID , A.EMPL_RCD , A.STATE , A.LOCALITY , A.DIST_PCT FROM PS_TAX_DISTRIB A WHERE A.DIST_PCT <> 0 AND A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_TAX_DISTRIB A_ED WHERE A.EMPLID = A_ED.EMPLID AND A.EMPL_RCD = A_ED.EMPL_RCD AND A_ED.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL |
Empl Record
Prompt Table: PER_ORG_ASGN_VW |
3 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_TBL |
4 | LOCALITY | Character(10) | VARCHAR2(10) NOT NULL |
Locality
Prompt Table: LOCAL_TAX_TBL |
5 | DIST_PCT | Number(7,3) | DECIMAL(6,3) NOT NULL | Percent of Distribution |