Error ORA-01422: Exact Fetch Returns More Than Requested Number of Rows - When Calling AR_RECEIPT_API_PUB.CREATE_CASH
(Doc ID 2577815.1)
Last updated on SEPTEMBER 12, 2023
Applies to:
Oracle Receivables - Version 12 and laterInformation in this document applies to any platform.
Symptoms
When calling AR_RECEIPT_API_PUB.create_cash to create a receipt in Oracle Receivables for a customer with more than one account, the API is returning the below error message:
ERROR
---------
ORA-01422: exact fetch returns more than requested number of rows in Package AR_RECEIPT_API_PUB Procedure Create_cash
The FND debug log showed the following:
ar.plsql.Find_Value_In_Cache 1 Get_Id: Value not found. Entity: CUSTOMER_NAME Value: <Name_of_customer_being_passed>
ar.plsql.Get_Cross_Validated_Id 4 EXCEPTION: Get_Cross_Validated_Id() CUSTOMER
ar.plsql.Default_cash_ids_from_values 4 EXCEPTION: Default_cash_ids_from_values()
ar.plsql.Default_cash_ids_from_values 1 Create_cash_1: -1422
ar.plsql.Default_cash_ids_from_values 1 Create_cash_1: ORA-01422: Exact fetch returns more than requested number of rows..."
For this case scenario, the Customer had already applied patch 26024039 that was released previously for the same error message.
Changes
None
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |