| Case Number | 00040609 |
| Oracle Module | Accounts Payable (AP) / Oracle Payments (IBY) |
| EBS Version | R12 |
| Functional Area | Supplier Bank Accounts / Payment Processing |
| Related Patches | None |
AP_BANK_ACCOUNT_USES_ALL for supplier/site combinations cause payment routing issues.This is a follow-on fix to case 00037149. After the initial fix was applied, additional corrupted bank account use records were identified that also required end-dating. The original script (iteration A) addressed one subset of records; this revised script (iteration B) addresses the remaining records with improved error handling (WHENEVER SQLERROR CONTINUE to handle cases where some records may already be fixed).
Run data_fix.sql. The script creates a backup of all newly identified affected AP_BANK_ACCOUNT_USES_ALL records.
The script queries for bank account use records for supplier/site combinations that still have multiple active (non-ended) records after the initial fix, joining AP_BANK_ACCOUNT_USES_ALL, PO_VENDORS, PO_VENDOR_SITES_ALL, and AP_BANK_ACCOUNTS_ALL.
Update AP_BANK_ACCOUNT_USES_ALL to stamp an end_date on the remaining corrupted/duplicate records.
Issue COMMIT. Confirm payment processing succeeds for all previously affected supplier/site combinations.
| File | Description |
|---|---|
| data_fix.sql | Revised (iteration B) fix for AP Bank Account Uses data corruption. End-dates remaining corrupted records in AP_BANK_ACCOUNT_USES_ALL not addressed by the initial fix (case 00037149). Includes improved error handling. |
| Table | Action |
|---|---|
| AP_BANK_ACCOUNT_USES_ALL | Update END_DATE on remaining corrupted/duplicate records |