TARGET_TAX_VW

(SQL View)
Index Back

Target Keys Tax Cashiering


SELECT B.SETID ,A.TAX_AUTHORITY_CD ,A.TARGET_KEY ,A.EFFDT ,A.TAX_TARGET ,B.TAX_PCT ,B.SERVICE_IMPACT FROM PS_TARGET_KEY_TAX A, PS_TAX_AUTHORITY B WHERE A.TAX_AUTHORITY_CD = B.TAX_AUTHORITY_CD AND B.EFFDT = (SELECT MAX(B1.EFFDT) FROM PS_TAX_AUTHORITY B1 WHERE B.SETID = B1.SETID AND B.TAX_AUTHORITY_CD = B1.TAX_AUTHORITY_CD AND B1.EFFDT <= %CURRENTDATEIN) AND B.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 TAX_AUTHORITY_CD Character(3) VARCHAR2(3) NOT NULL Tax Authority

Prompt Table: TAX_AUTHORTY_VW

3 TARGET_KEY Character(10) VARCHAR2(10) NOT NULL Target Key
4 EFFDT Date(10) DATE NOT NULL Effective Date
5 TAX_TARGET Character(10) VARCHAR2(10) NOT NULL Target Key

Prompt Table: TARGET_KEY_TBL

6 TAX_PCT Number(6,3) DECIMAL(5,3) NOT NULL Tax Percent
7 SERVICE_IMPACT Character(5) VARCHAR2(5) NOT NULL Service Impact