Record Print Status Fails With ORA-00001: unique constraint (AP.AP_INVOICE_PAYMENTS_U1) violated
Last updated on AUGUST 03, 2015
Applies to:Oracle Payments - Version 12.1.3 and later
Information in this document applies to any platform.
When try to record print status, the following error occurs.
insert into ap_invoice_payments_all - 12-MAR-15 08.04.40.757865000 PM -04:00
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 - 12-MAR-15 08.04.40.768424000 PM -04:00
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms