← Back to Cases
AR Interim Cash Receipt Stuck in Incomplete Batch
Case Number00033515
Oracle ModuleAccounts Receivable (AR)
EBS VersionR12
Functional AreaCash Receipts / Batch Processing
Related PatchesNone

Symptoms

Root Cause

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.

Resolution

Step 1 – Create backup tables

Run data_fix.sql. The script creates backups:

Step 2 – Delete orphaned interim receipt records

Delete the stale rows from AR_INTERIM_CASH_RECEIPTS_ALL and AR_INTERIM_CASH_RCPT_LINES_ALL for the affected cash receipt ID.

Step 3 – Update batch status and control totals

Update AR_BATCHES_ALL for the affected batch:

Step 4 – Commit and validate

Issue COMMIT. Verify the batch now shows Closed status and balanced control totals in the AR Receipts workbench.


Script Inventory

FileDescription
data_fix.sqlCreates backups; deletes orphaned interim cash receipt and line records; updates the batch to Closed status with recalculated control amount and count.

Key Tables Affected

TableAction
AR_INTERIM_CASH_RECEIPTS_ALLDelete orphaned interim receipt
AR_INTERIM_CASH_RCPT_LINES_ALLDelete orphaned interim receipt lines
AR_BATCHES_ALLUpdate status to CL, batch_applied_status, control_amount, control_count