Error While Creating Record In Intersection Table (Doc ID 2137744.1)

Last updated on MAY 15, 2016

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 and later
Information in this document applies to any platform.

Symptoms

Get error when you try to set the Id of the associated objects on the Intersection object 

1st Scenario:
-----------------------------------

You have two objects: List (Custom Object) and Contacts. Related with a M:M relationship. You want to create ListContacts within the context of the List. The contact id is contained in the array aContId[k] declared before in the code. You encounter error when you try to set the Contact Id (creListContact.setAttribute('Person_Tgt_PersonToList_Contact_c_Src', aContId[k])).



2nd Scenario:
-----------------------------------
You have two objects Orders (Custom object) and Accounts (Standard) related with a M:M relationship. You want to create records of the intersection table within the context of the Order, to link Accounts and orders. You encounter error when trying to set the Account Id ( createAcc.setAttribute('Organization_Tgt_OrganizationToOrderToAccountMM_c_Src', vPrimBillAccId)).

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