UK_VAT_LN6_VW

(SQL View)
Index Back

UK_VAT_LN6_VW

View for UK VAT Digital Return

SELECT PROCESS_INSTANCE , VAT_RPT_ID , VAT_ENTITY ,VAT_RPT_LINE_NBR , COUNTRY_VAT_RPTG , SUM(TAX_BASIS_AMT_RPTG ) , SUM(TAX_AMT_GROSS_RPTG) ,SUM(TAX_AMT_RCVRY_RPTG) , SUM(TAX_AMT_RBT_RPTG) , SUM(TAX_TRANS_AMT_RPTG) FROM PS_VAT_RPT_INST2 WHERE VAT_RPT_LINE_NBR = '6' AND VAT_RPT_ID ='UKVATRTN' GROUP BY PROCESS_INSTANCE,VAT_RPT_ID ,VAT_RPT_LINE_NBR, VAT_ENTITY , COUNTRY_VAT_RPTG

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
2 VAT_RPT_ID Character(8) VARCHAR2(8) NOT NULL Report ID
3 VAT_ENTITY Character(20) VARCHAR2(20) NOT NULL Specifies an organizational entity that is responsible for VAT reporting and that is registered in one or more countries that require VAT reporting. A single VAT entity is linked to one or more General Ledger Business Units depending on the reporting requirements.
4 VAT_RPT_LINE_NBR Number(5,0) INTEGER NOT NULL Line Number
5 COUNTRY_VAT_RPTG Character(3) VARCHAR2(3) NOT NULL VAT Reporting Country
6 TAX_BASIS_AMT_RPTG Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Basis Amount - Reporting
7 TAX_AMT_GROSS_RPTG Signed Number(28,3) DECIMAL(26,3) NOT NULL Gross Tax Amount - Reporting
8 TAX_AMT_RCVRY_RPTG Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Recovery Amt - Reporting
9 TAX_AMT_RBT_RPTG Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Rebate Amount - Reporting
10 TAX_TRANS_AMT_RPTG Signed Number(28,3) DECIMAL(26,3) NOT NULL Tax Transaction Amt - Report