R12 AP: Payment Failing with ORA-00001: unique constraint (AP.AP_INVOICE_PAYMENTS_U1) violated
(Doc ID 2007079.1)
Last updated on NOVEMBER 02, 2022
Applies to:Oracle Payments - Version 12.1.3 and later
Information in this document applies to any platform.
When try to Record Print Status or Format Payment Instruction, the following error occurs.
insert into ap_invoice_payments_all - <date>
ERROR Code : -1
ERROR Msg : ORA-00001: unique constraint (AP.AP_INVOICE_PAYMENTS_U1) violated
AP.PLSQL.AP_PMT_CALLOUT_PKG..payments_completed - insert into ap_invoice_payments_all - <date>
IBY_DISBURSE_UI_API_PUB_PKG.mark_all_pmts_complete:Fatal: External app callout 'AP_PMT_CALLOUT_PKG.payments_completed', generated exception.
IBY_DISBURSE_UI_API_PUB_PKG.mark_all_pmts_complete:SQL code: -20001
IBY_DISBURSE_UI_API_PUB_PKG.mark_all_pmts_complete:SQL err msg: ORA-20001: APP-SQLAP-10000: ORA-00001: unique constraint (AP.AP_INVOICE_PAYMENTS_U1) violated occurred in
with parameters (Complted Payments Group id = 4)
The issue can be reproduced at will with the following steps:
- Log in Payable Responsibility
- Navigate to Payments -> Entry -> Payment Manager -> Payment Process Requests
- Submit Single Request
- After review invoice and payment, Go to the set <Record Print Status> (Print)
Note: This issue can be reproduced when the payment request only include one invoice.
The log will display the < l_check_count: 2>, actually there is only one check payment.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document