| Case Number | 00034752 |
| Oracle Module | Accounts Payable (AP) / Oracle Payments (IBY) |
| EBS Version | R12 |
| Functional Area | Payment Processing / Payment Process Request (PPR) |
| Related Patches | Oracle GDF ap_Rel_Inv_frm_TermPPR_fix.sql |
When a Payment Process Request (PPR) terminates, fails, or completes without fully processing, the associated invoices should be released back to "Available for Payment" status. Due to a timing or processing error, the invoice selection records remain linked to the defunct PPR, preventing re-selection. This fix releases the invoices by clearing their PPR association.
This fix uses the Oracle Generic Data Fix (GDF) framework.
Run the companion selection script (ap_Rel_Inv_frm_TermPPR_sel.sql) to identify PPRs in Terminated/Validation_Failed/Completed state whose associated invoices remain in "selected" status.
Run data_fix.sql via SQL*Plus. The script prompts for:
DETAILS_FLAG — Y/N to print invoice details in the logP_User_Name — valid Oracle EBS username (uppercase)P_Responsibility_Name — Payables responsibility name (case-sensitive)Email_id — optional email for log deliverysqlplus <user>/<password>@<database> @data_fix.sql
The script:
Confirm the affected invoices now show "Available" status in the AP Payment Manager and can be selected for a new payment run.
| File | Description |
|---|---|
| data_fix.sql | Oracle GDF script to release AP invoices from a terminated/failed/completed PPR. Clears payment selection status and restores invoices to Available for Payment. Uses AP_Acctg_Data_Fix_PKG framework with logging. |
| Table | Action |
|---|---|
| AP_PAYMENT_SCHEDULES_ALL | Clear PPR assignment; reset payment status to Available |
| IBY_PAY_SERVICE_REQUESTS | Validate PPR status |