| Case Number | 00051890 |
| Oracle Module | Accounts Receivable (AR) |
| EBS Version | R12 |
| Functional Area | Cash Receipts / Receipt Application / Subledger Accounting |
| Related Patches | None |
amount_applied and associated accounting amounts in AR_RECEIVABLE_APPLICATIONS_ALL do not match expected values.AR_DISTRIBUTIONS_ALL and XLA subledger accounting entries (XLA_AE_LINES, XLA_DISTRIBUTION_LINKS) contain incorrect entered and accounted amounts, including incorrect cross-currency exchange rate amounts.The receipt application process recorded incorrect amounts for amount_applied, line_applied, acctd_amount_applied_to, and the cross-currency exchange rate (trans_to_receipt_rate). The corresponding AR distribution and XLA accounting lines also contain incorrect entered/accounted debit and credit amounts. Additionally, extra distribution and accounting lines were created during the erroneous processing that must be removed.
Run data_fix.sql. Backups are created for:
AR_RECEIVABLE_APPLICATIONS_ALL — for the affected cash receipt IDAR_DISTRIBUTIONS_ALL — covering all distribution source types (CRH, RA, MCD) for the receiptXLA_AE_LINES — XLA accounting lines for the AR receipt entityXLA_DISTRIBUTION_LINKS — XLA distribution links for the receipt eventUpdate AR_RECEIVABLE_APPLICATIONS_ALL to set the correct amount_applied, line_applied, acctd_amount_applied_to, and trans_to_receipt_rate for the affected receivable application.
Update AR_DISTRIBUTIONS_ALL to set the correct amount_cr and acctd_amount_cr (and currency_code if applicable) for the affected distribution line.
Update XLA_AE_LINES to set corrected entered and accounted debit/credit amounts (entered_cr, accounted_cr, unrounded_entered_cr, unrounded_accounted_cr, entered_dr, accounted_dr, etc.) for the affected accounting lines.
Update XLA_DISTRIBUTION_LINKS to set corrected unrounded entered and accounted credit amounts for the affected distribution link.
Delete the extra/orphaned records from:
AR_DISTRIBUTIONS_ALL — orphaned distribution lineXLA_AE_LINES — extra accounting lines created during erroneous processingXLA_DISTRIBUTION_LINKS — orphaned distribution linkIssue COMMIT. Verify the receipt application balances correctly and the AR aging and accounting reports reflect the corrected amounts.
| File | Description |
|---|---|
| data_fix.sql | Creates backups; corrects amount_applied, line_applied, acctd_amount_applied_to, and trans_to_receipt_rate in AR_RECEIVABLE_APPLICATIONS_ALL; corrects AR_DISTRIBUTIONS_ALL amounts; corrects XLA_AE_LINES entered/accounted amounts; corrects XLA_DISTRIBUTION_LINKS; deletes orphaned distribution and accounting lines. |
| Table | Action |
|---|---|
| AR_RECEIVABLE_APPLICATIONS_ALL | Update amount_applied, line_applied, acctd_amount_applied_to, trans_to_receipt_rate |
| AR_DISTRIBUTIONS_ALL | Update amount_cr, acctd_amount_cr; delete orphaned rows |
| XLA_AE_LINES | Update entered/accounted DR/CR amounts; delete orphaned lines |
| XLA_DISTRIBUTION_LINKS | Update unrounded amounts; delete orphaned link |