Receipt Class Setup Error: Using a Bank Account Associated with Duplicate Bank Account Name Records Raises Error: More than one primary key row for foreign key value.

(Doc ID 1086254.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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


You are creating a new receipt class, when you attempt to associate a Remittance Bank and click on the list of values for Account Name, you notice that it returns what appears to be "duplicate" values. For example:

Account Name          Number   Currency
--------------------- -------- --------
Oracle Acct (USA)-204 16685256 USD
Oracle Acct (USA)-204 16685238 EUR
Oracle Acct (USA)-204 16685244 GBP

The -204 appended to the Account Name is the ORG_ID. When you pick one of these values, you get the error:

More than one primary key row for foreign key value.

The error is raised for any bank account that has the same Account Name, even if the Currency is different.


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