R12 Format Payment Instructions Error: APP-SQLAP-10000: ORA-01422: exact fetch returns more than requested number of rows occurred in AP_WITHHOLDING_PKG.Create_AWT_distributions<-AP_WITHHOLDING_PKG.AP_Do_Withholding (Doc ID 2284344.1)

Last updated on JULY 07, 2017

Applies to:

Oracle Payables - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

Format Payment Instructions with Text Output is failing with below error:

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-01422: exact fetch returns more than requested number of rows occurred in
AP_WITHHOLDING_PKG.Create_AWT_distributions<-AP_WITHHOLDING_PKG.AP_Do_Withholding
with parameters ( Invoice Id = XXXXX, Calling module = CONFIRM, Create dists = PAYMENT, Payment Num = X, Currency code = XXX)
while performing the following operation:
Inside CONFIRM
IBY_DISBURSE_UI_API_PUB_PKG.mark_all_pmts_complete:Exception occured when marking payments complete for payment instruction XXXXXX

Cause

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