← Back to Cases
AP Checks Incorrectly Accounted After Reissue
Case Number00040271
Oracle ModuleAccounts Payable (AP)
EBS VersionR12
Functional AreaPayment Processing / Check Reissue / Accounting
Related PatchesOracle Patches 8975671, 9257606, 9272615

Symptoms

Root Cause

During AP check reissue processing, the accounting entries were created incorrectly — either due to a code defect that was subsequently fixed by Oracle patches 8975671, 9257606, and 9272615, or because the reissue process re-accounted checks that were already properly accounted. The fix runs undo accounting for all XLA events associated with the incorrectly accounted checks, then allows the accounting to be regenerated cleanly.

Resolution

Step 1 – Apply prerequisite patches

Ensure the following Oracle patches are applied before running this fix:

Step 2 – Run identification script

Run the companion selection script (ap_reissue_sel.sql) to populate the driver table with the affected check IDs.

Step 3 – Execute the fix script

Run data_fix.sql via SQL*Plus:

sqlplus <user>/<password>@<database> @data_fix.sql

The script prompts for User Name, Responsibility Name, and optionally an email address for log delivery.

Step 4 – Script processing

The script uses the Oracle GDF framework to:

  1. Initialize Apps context.
  2. Perform undo accounting for all XLA events associated with the incorrectly accounted checks.
  3. Create backup tables for affected records.
  4. Update driver table with process results (process_flag = 'P' for success).
  5. Generate HTML log output.
Step 5 – Regenerate accounting

After undo accounting completes, re-run Create Accounting for the affected checks to generate correct subledger entries.

Note: The prerequisite patches must be applied before running this script, or the reissue accounting defect will recur when accounting is regenerated.

Script Inventory

FileDescription
data_fix.sqlOracle GDF fix script to undo incorrect accounting for AP reissued checks. Uses AP_Acctg_Data_Fix_PKG framework. Requires prerequisite patches 8975671, 9257606, 9272615.

Related Oracle Patches

PatchDescription
8975671AP check reissue accounting fix (prerequisite)
9257606AP check reissue accounting fix (prerequisite)
9272615AP check reissue accounting fix (prerequisite)