11i: Error Using AR_RECEIPT_API_PUB.CREATE_CASH When Two Bank Accounts (with the Same Name and Different Type Exists) and the parameter p_remittance_bank_account_num is Passed - ORA-01422: Exact Fetch Returns More Than Requested Number of Rows (Doc ID 1927189.1)

Last updated on AUGUST 24, 2016

Applies to:

Oracle Receivables - Version 11.5.10.2 to 11.5.10.3 [Release 11.5.10]
Information in this document applies to any platform.

Symptoms

Attempting to use the AR_RECEIPT_API_PUB.CREATE_CASH API and the following error occurs when two Bank Accounts (with the same name and different types) exist and the parameter p_remittance_bank_account_num is passed:

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

The two Bank Accounts with the same name:
One account is setup as Internal (Remittance Account)
One account is setup as Supplier and assigned to an Intercompany Supplier.

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