| Case Number | 00037149 |
| 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 the same supplier/site combination, causing conflicts when selecting payment accounts.Bank account use records in AP_BANK_ACCOUNT_USES_ALL became corrupted — either duplicate records were created or end dates were not properly applied when supplier bank accounts were updated or replaced. The presence of multiple active (non-ended) bank account use records for the same supplier site caused payment processing to fail or produce incorrect results.
Run data_fix.sql. The script creates a backup of all affected AP_BANK_ACCOUNT_USES_ALL records identified via joins to supplier and bank account tables.
The script identifies bank account use records for supplier/site combinations that have multiple active records without proper end dates, joining:
AP_BANK_ACCOUNT_USES_ALLPO_VENDORSPO_VENDOR_SITES_ALLAP_BANK_ACCOUNTS_ALLUpdate AP_BANK_ACCOUNT_USES_ALL to stamp an end_date on the corrupted/duplicate records, effectively inactivating them while leaving the correct active record without an end date.
Issue COMMIT. Confirm that each supplier/site now has only one active (non-ended) bank account use record. Retry the affected payment run.
| File | Description |
|---|---|
| data_fix.sql | Creates backup of affected AP_BANK_ACCOUNT_USES_ALL records; stamps end_date on corrupted/duplicate bank account use records for the affected supplier/site combinations. Connects to custom schema via APPS. |
| Table | Action |
|---|---|
| AP_BANK_ACCOUNT_USES_ALL | Update END_DATE on corrupted/duplicate records |
| PO_VENDORS | Read only (used in identification query) |
| PO_VENDOR_SITES_ALL | Read only (used in identification query) |
| AP_BANK_ACCOUNTS_ALL | Read only (used in identification query) |