API Issue: Creating Miscellaneous Receipts Using AR_RECEIPT_API_PUB.CREATE_MISC Error ORA-01422: Exact Fetch Returns More Than Requested Number of rows

(Doc ID 1515150.1)

Last updated on AUGUST 08, 2016

Applies to:

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

Symptoms

When attempting to AR_RECEIPT_API_PUB.Create_misc the following error occurs.

ERROR
-----------------------
ORA-01422: exact fetch returns more than requested number of rows.

The Receivable Activity has a Tax Code with multiple tax codes with the same name.

Trace shows that following sql is failing

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