| Case Number | 00033515 |
| Oracle Module | Accounts Receivable (AR) |
| EBS Version | R12 |
| Functional Area | Cash Receipts / Batch Processing |
| Related Patches | None |
AR_INTERIM_CASH_RECEIPTS_ALL and AR_INTERIM_CASH_RCPT_LINES_ALL that should have been processed and removed.control_amount and control_count do not match the actual applied receipts.During AutoLockbox or manual receipt batch processing, the batch's interim records were not properly cleaned up after the receipts were applied. The interim tables (AR_INTERIM_CASH_RECEIPTS_ALL and AR_INTERIM_CASH_RCPT_LINES_ALL) retained stale rows, and the batch header in AR_BATCHES_ALL was not updated to reflect the correct status (CL — Closed) and reconciled control amounts.
Run data_fix.sql. The script creates backups:
rsi_ar_int_rcps_<case> — snapshot of AR_INTERIM_CASH_RECEIPTS_ALLrsi_ar_int_rcps_lines_<case> — snapshot of AR_INTERIM_CASH_RCPT_LINES_ALLrsi_ar_batch_<case> — snapshot of AR_BATCHES_ALLDelete the stale rows from AR_INTERIM_CASH_RECEIPTS_ALL and AR_INTERIM_CASH_RCPT_LINES_ALL for the affected cash receipt ID.
Update AR_BATCHES_ALL for the affected batch:
status = 'CL' (Closed)batch_applied_status = 'PROCESSED'control_amount from the sum of actual AR_CASH_RECEIPT_HISTORY_ALL amounts for the batchcontrol_count from the count of actual receipts in the batchIssue COMMIT. Verify the batch now shows Closed status and balanced control totals in the AR Receipts workbench.
| File | Description |
|---|---|
| data_fix.sql | Creates backups; deletes orphaned interim cash receipt and line records; updates the batch to Closed status with recalculated control amount and count. |
| Table | Action |
|---|---|
| AR_INTERIM_CASH_RECEIPTS_ALL | Delete orphaned interim receipt |
| AR_INTERIM_CASH_RCPT_LINES_ALL | Delete orphaned interim receipt lines |
| AR_BATCHES_ALL | Update status to CL, batch_applied_status, control_amount, control_count |