Autoinvoice Error: ORA-1422: exact fetch returns more than requested number of rows

(Doc ID 1207707.1)

Last updated on AUGUST 19, 2016

Applies to:

Oracle Receivables - Version 12.0.0 to 12.0.0 [Release 12.0]
Oracle Receivables - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.
EXECUTABLE:RAXTRX - Autoinvoice Import Program


Symptoms

Oracle Receivables (AR): AutoInvoice Information Center
> Troubleshooting AutoInvoice for Oracle Receivables Release 11.5 Through 12 > Note 1207707.1

When attempting to run Autoinvoice, the following error is displayed in the log file captured as instructed from <Note 1079666.1>:

ORA-1422: exact fetch returns more than requested number of rows

This error can be prefaced with different values and suffix strings.  For example:

APP-AR-11526: ORA-01422: exact fetch returns more than requested number of rows

ORA-1422 errors occur when the code makes use of a SELECT ... INTO ... expecting to pick up one row, but instead more than one row is returned. When there is no TOO_MANY_ROWS exception handler in the block, this error is returned. 





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