| Case Number | 00039350 |
| Oracle Module | Accounts Payable (AP) / eBusiness Tax (ZX) |
| EBS Version | R12 |
| Functional Area | Invoice Processing / Tax Calculation |
| Related Patches | None |
ZX_LINES_DET_FACTORS) has a line_amt that does not match the corrected zero value.The invoice line amounts, distribution amounts, and the corresponding ZX tax determining factor line amount contain stale non-zero values that should be zero. This can occur when a cancellation, adjustment, or correction process did not complete cleanly, leaving residual amounts in the AP and ZX tables.
Run data_fix.sql. Backup tables are created for:
AP_INVOICE_LINES_ALLAP_INVOICE_DISTRIBUTIONS_ALLZX_LINES_DET_FACTORSUpdate AP_INVOICE_LINES_ALL to set amount = 0 for all lines on the affected invoice.
Update AP_INVOICE_DISTRIBUTIONS_ALL to set amount = 0 and total_dist_amount = 0 for all distributions on the affected invoice.
Update ZX_LINES_DET_FACTORS to set line_amt = 0 for the affected invoice's AP_INVOICES entity records.
Issue COMMIT. Re-validate the invoice to confirm it passes with zero amounts.
| File | Description |
|---|---|
| data_fix.sql | Creates backups; sets AP_INVOICE_LINES_ALL amounts to 0; sets AP_INVOICE_DISTRIBUTIONS_ALL amount and total_dist_amount to 0; sets ZX_LINES_DET_FACTORS line_amt to 0. |
| Table | Action |
|---|---|
| AP_INVOICE_LINES_ALL | Update amount to 0 |
| AP_INVOICE_DISTRIBUTIONS_ALL | Update amount, total_dist_amount to 0 |
| ZX_LINES_DET_FACTORS | Update line_amt to 0 |