ST_CTAX_VW

(SQL View)
Index Back

Stock Country Tax View

This view is used to default country tax information for options transaction processing.

SELECT A.COUNTRY , A.ST_STOCK_TAX_TYPE , A.EFFDT , A.ST_DEFAULT_PERCENT , A.MAX_GROSS , B.TAX_CLASS FROM PS_ST_COUNTRY_TAX A , PS_ST_TAX_TYPE_TBL B WHERE A.COUNTRY = B.COUNTRY AND A.ST_STOCK_TAX_TYPE = B.ST_STOCK_TAX_TYPE AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ST_COUNTRY_TAX A1 WHERE A1.COUNTRY = A.COUNTRY AND A1.ST_STOCK_TAX_TYPE = A.ST_STOCK_TAX_TYPE AND A1.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

2 ST_STOCK_TAX_TYPE Character(5) VARCHAR2(5) NOT NULL This field is used to setup up taxes for the Stock Admin application for companies without PeopleSoft payroll.

Prompt Table: ST_CNTRY_TAX_VW

3 EFFDT Date(10) DATE NOT NULL Effective Date
4 ST_DEFAULT_PERCENT Number(8,4) DECIMAL(7,4) NOT NULL Default Percentage
5 MAX_GROSS Number(8,0) INTEGER NOT NULL Maximum Gross

Default Value: 99999999

6 TAX_CLASS Character(1) VARCHAR2(1) NOT NULL Tax Balance Class