← Back to Cases
AR to GL Transfer Posting Control Reset for Resubmission
Case Number00056785
Oracle ModuleAccounts Receivable (AR)
EBS VersionR12 / 11.5.10.2
Functional AreaAR to GL Transfer / Posting Control
Related PatchesNone

Symptoms

Root Cause

An AR to GL Transfer concurrent program run updated the posting_control_id and gl_posted_date columns on AR transaction records to mark them as transferred, but the corresponding GL journal entries were not successfully created (due to a program error, timeout, or abort). The AR records are now stuck in a posted state for the failed posting control ID. Resetting these columns to their unposted values (NULL / -3) allows the GL Transfer to be resubmitted.

Resolution

Step 1 – Review impacted transactions

The script first produces a summary report of all AR records affected by the failed posting control ID, grouped by transaction type (Cash Receipts, Receivable Applications, Adjustments, Misc Cash, Transaction History), showing total debit and credit amounts per type.

Step 2 – Create backup tables

Run data_fix.sql. Backup tables are created for all affected rows in:

Step 3 – Reset posting control columns to unposted state

For each affected transaction type, the script iterates through records matching the failed posting_control_id and resets:

This is performed for all five transaction types in sequence.

Step 4 – Commit and resubmit GL Transfer

The script issues COMMIT after processing all record types and produces a summary of records updated by type. Resubmit the AR to GL Transfer program for the affected period.

Note: The script uses a PL/SQL anonymous block with cursors, produces a spooled output file with record counts and amounts by transaction type, and stamps updated records with last_updated_by = -999 for audit identification. Verify the correct posting_control_id before running.

Script Inventory

FileDescription
data_fix.sqlPL/SQL anonymous block script. Creates backups for all five AR transaction types; resets gl_posted_date and posting_control_date to unposted state (-3/NULL) across AR_CASH_RECEIPT_HISTORY_ALL, AR_RECEIVABLE_APPLICATIONS_ALL, AR_ADJUSTMENTS_ALL, AR_MISC_CASH_DISTRIBUTIONS_ALL, and AR_TRANSACTION_HISTORY_ALL for the failed posting control ID. Produces spooled output with record counts.

Key Tables Affected

TableAction
AR_CASH_RECEIPT_HISTORY_ALLReset gl_posted_date to NULL, posting_control_date to -3
AR_RECEIVABLE_APPLICATIONS_ALLReset gl_posted_date to NULL, posting_control_date to -3
AR_ADJUSTMENTS_ALLReset gl_posted_date to NULL, posting_control_date to -3
AR_MISC_CASH_DISTRIBUTIONS_ALLReset gl_posted_date to NULL, posting_control_date to -3
AR_TRANSACTION_HISTORY_ALLReset gl_posted_date to NULL, posting_control_date to -3