ST_LTAX_VW

(SQL View)
Index Back

Stock Local Tax View

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

SELECT A.COUNTRY , A.ST_STOCK_TAX_TYPE , A.STATE , A.LOCALITY , A.EFFDT , A.ST_DEFAULT_PERCENT , A.MAX_GROSS , B.TAX_CLASS FROM PS_ST_LOCAL_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_LOCAL_TAX A1 WHERE A1.COUNTRY = A.COUNTRY AND A1.ST_STOCK_TAX_TYPE = A.ST_STOCK_TAX_TYPE AND A1.STATE = A.STATE AND A1.LOCALITY = A.LOCALITY 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_LOCAL_TAX_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: %RECNAME_EDIT

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

Default Value: 99999999

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