TAX_CD_PCT(SQL View) |
Index Back |
---|---|
Tax Code Percentage |
SELECT A.setid , A.tax_cd , SUM(B.tax_pct) FROM PS_TAX_CD A , ps_tax_authority B WHERE A.setid = B.setid AND A.tax_authority_cd = B.tax_authority_cd AND B.effdt = ( SELECT MAX(C.effdt) FROM ps_tax_authority C WHERE B.setid = C.setid AND B.tax_authority_cd = C.tax_authority_cd AND C.eff_status = 'A' AND C.EFFDT <= %CurrentDateIn) GROUP BY A.setid, A.tax_cd |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | TAX_CD_SUT | Character(8) | VARCHAR2(8) NOT NULL | Tax Code - Sales and Use Tax |
3 | TAX_PCT | Number(7,4) | DECIMAL(6,4) NOT NULL | Tax Percent |