← Back to Cases
AR Receivable Application Amount and Accounting Incorrect
Case Number00051890
Oracle ModuleAccounts Receivable (AR)
EBS VersionR12
Functional AreaCash Receipts / Receipt Application / Subledger Accounting
Related PatchesNone

Symptoms

Root Cause

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.

Resolution

Step 1 – Create backup tables

Run data_fix.sql. Backups are created for:

Step 2 – Correct the receivable application amounts

Update 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.

Step 3 – Correct the AR distribution amounts

Update AR_DISTRIBUTIONS_ALL to set the correct amount_cr and acctd_amount_cr (and currency_code if applicable) for the affected distribution line.

Step 4 – Correct XLA accounting line amounts

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.

Step 5 – Correct XLA distribution link amounts

Update XLA_DISTRIBUTION_LINKS to set corrected unrounded entered and accounted credit amounts for the affected distribution link.

Step 6 – Delete orphaned distribution and accounting lines

Delete the extra/orphaned records from:

Step 7 – Commit and validate

Issue COMMIT. Verify the receipt application balances correctly and the AR aging and accounting reports reflect the corrected amounts.


Script Inventory

FileDescription
data_fix.sqlCreates 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.

Key Tables Affected

TableAction
AR_RECEIVABLE_APPLICATIONS_ALLUpdate amount_applied, line_applied, acctd_amount_applied_to, trans_to_receipt_rate
AR_DISTRIBUTIONS_ALLUpdate amount_cr, acctd_amount_cr; delete orphaned rows
XLA_AE_LINESUpdate entered/accounted DR/CR amounts; delete orphaned lines
XLA_DISTRIBUTION_LINKSUpdate unrounded amounts; delete orphaned link