Hi All,
We have one custom entity to that entity we have 1:N relationship to Opportunity (custom entity - Opportunity) , by default the relationship behavior is Referential. When i try to change the relationship behavior from Referential to Configurable Cascading getting below error.
Error Message: The related entity has already been configured with a cascading or parental relationship.
I have cross checked the error message on this two entities but there is no relationship exist either with cascading or parental. Any leads on resolving this issue. Please post here.
Thanks,
Krishna Reddy Yeruva
Hi,
There is a message in the error log saying that “Opportunity is parented to Entity with id: ……”.
The “parented” here means one in which anything cascades, not just the parental type relationship.
Here is a documentation on cascading behavior which you can refer to know more about how the actions of the entities governed by this relationship interact with each other:
Opportunity has this relationship with two entities by default – Contact and Account.
Also, you can find a Note which says that:
A custom entity cannot be the primary entity in a relationship with a related system entity that cascades.
in the following documentation.
So "Referential: restrict delete" is the best option for you.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.
Best Regards,
Nya
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156