Академический Документы
Профессиональный Документы
Культура Документы
Troubleshooting
Contents
1. 1 -- EBTAX SETUP TABLES --
2. 2 -- EBTAX TRANSACTION TABLES --
3. 3 -- SQL FOR PARTY FISCAL CLASSIFICATION CODE --
4. 4 -- BELOW QUERY RETRIEVES CUSTOMER ADDRESSES THAT DOESNT
HAVE ANY GEOGRAPHY REFERENCE --
5. 5 -- BELOW SQL QUERY RETRIEVES LIST OF JURISDICTIONS' FOR WHICH
TAX RATES HAS BEEN DEFINED --
6. 6 -- BELOW QUERY RETRIEVES LIST OF GEOGRAPHY'S WITHOUT
JURISDICTIONS--
7. 7 --SUPPLIER TAX REGISTRATION CREATION--
8. 8 --EXCLUDE FREIGHT FROM DISCOUNT--
=====================================================================
====================================
To get a dump of the eTax setups, you can use the following set of queries.
Please provide the tax regime code when prompted. If the issue is limited to a tax then
provide the tax name when prompted else please leave it blank.
SELECT *
FROM zx_regimes_b
WHERE tax_regime_code = '&tax_regime_code';
SELECT *
FROM zx_taxes_b
WHERE DECODE('&tax_name',null,'xxx',tax) = nvl('&tax_name','xxx')
AND tax_regime_code = '&tax_regime_code';
SELECT *
FROM zx_status_b
WHERE tax = '&tax_name'
AND tax_regime_code = '&tax_regime_code';
SELECT *
FROM zx_rates_b
WHERE tax = '&tax_name'
AND tax_regime_code = '&tax_regime_code';
SELECT *
FROM zx_jurisdictions_b
WHERE DECODE('&tax_name',null,'xxx',tax) = nvl('&tax_name','xxx')
AND tax_regime_code = '&tax_regime_code';
SELECT *
FROM zx_rules_b
WHERE tax = '&tax_name'
AND tax_regime_code = '&tax_regime_code';
======================================================
===============
a. ZX_LINES: This table will have the tax lines for associated with PO/Release
schedules.
TRX_ID: Transaction ID. This is linked to the
PO_HEADERS_ALL.PO_HEADER_ID
TRX_LINE_ID: Transaction Line ID. This is linked to the
PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID
b. ZX_REC_NREC_DIST: This table will have the tax distributions for associated with
PO/Release distributions.
TRX_ID: Transaction ID. This is linked to the
PO_HEADERS_ALL.PO_HEADER_ID
TRX_LINE_ID: Transaction Line ID. This is linked to the
PO_LINE_LOCATIONS_ALL.LINE_LOCATION_ID
TRX_LINE_DIST_ID: Transaction Line Distribution ID. This is linked to the
PO_DISTRIBUTIONS_ALL.PO_DISTRIBUTION_ID
RECOVERABLE_FLAG: Recoverable Flag. If the distribution is recoverable then the flag
will be set to Y and there will be values in the RECOVERY_TYPE_CODE and
RECOVERY_RATE_CODE.
d. ZX_LINES_DET_FACTORS: This table holds all the information of the tax line
transaction for both the requisitions as well as the purchase orders/releases.
=====================================================================
========================================