BI_VAT_INQ_VW(SQL View) |
Index Back |
---|---|
Bill Line VAT Inquiry View |
SELECT business_unit , invoice , tax_cd_vat , tax_cd_vat_pct , SUM(vat_amt) , SUM(vat_amt_bse) , SUM(vat_amt_xeu) , SUM(vat_basis_amt) , SUM(vat_basis_amt_bse) , SUM(vat_basis_amt_xeu) , SUM(net_extended_amt) , SUM(net_extended_bse) , SUM(net_extended_xeu) , tax_cd_vat_rvc , tax_cd_vat_rvc_pct , SUM(vat_amt_rvc) , SUM(vat_amt_rvc_bse) , SUM(vat_amt_rvc_xeu) , bi_currency_cd , base_currency , currency_cd_xeu FROM PS_BI_LINE WHERE adj_line_type <> 'ACR' AND tax_cd_vat <> ' ' GROUP BY business_unit, invoice, tax_cd_vat, tax_cd_vat_pct, tax_cd_vat_rvc, tax_cd_vat_rvc_pct, bi_currency_cd, base_currency, currency_cd_xeu |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
3 | TAX_CD_VAT | Character(8) | VARCHAR2(8) NOT NULL | Defines the VAT (Value Added Tax) percentage (via link to the Tax Authority) and is used to retrieve VAT accounting ChartFields. The VAT code determines how the VAT amount is calculated on a transaction and how that amount is accounted and reported for. |
4 | TAX_CD_VAT_PCT | Signed Number(9,4) | DECIMAL(7,4) NOT NULL | Specifies the tax percentage that corresponds to the VAT code. If more than one VAT authority is linked to a VAT code this will represent an aggregate percentage. |
5 | TOT_VAT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Amount |
6 | TOT_VAT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Amount |
7 | TOT_VAT_XEU | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Amount |
8 | TOT_VAT_BASIS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Basis Amount |
9 | TOT_VAT_BASIS_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Basis Amount |
10 | TOT_VAT_BASIS_XEU | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Basis Amount |
11 | NET_EXTENDED_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Net Extended Amt |
12 | NET_EXTENDED_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Net Extended Amount |
13 | NET_EXTENDED_XEU | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Net Extended Amount |
14 | TAX_CD_VAT_RVC | Character(8) | VARCHAR2(8) NOT NULL | Reverse Charge VAT Code |
15 | TAX_CD_VAT_RVC_PCT | Signed Number(9,4) | DECIMAL(7,4) NOT NULL | Customer VAT Rate |
16 | TOT_VAT_RVC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Amount |
17 | TOT_VAT_RVC_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Amount |
18 | TOT_VAT_RVC_XEU | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total VAT Reverse Charge Amt |
19 | BI_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Billing Currency Code |
20 | BASE_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | "Specifies the primary currency for a general ledger business unit, and is sometimes referred to as the ""book"" currency. Each business unit has one base currency. which is usually, but not always, the local currency for the organization. Journal entries are posted to a business unit in its base currency. " |
21 | CURRENCY_CD_XEU | Character(3) | VARCHAR2(3) NOT NULL | Euro Currency |