web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Cannot change relationship behavior from Referential to Configurable Cascading

(0) ShareShare
ReportReport
Posted on by 45

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.

pastedimage1617626807129v1.png
Thanks,

Krishna Reddy Yeruva

I have the same question (0)
  • Suggested answer
    Nya Profile Picture
    29,060 on at

    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:

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/gg309412(v=crm.8)?redirectedfrom=MSDN#cascading-behavior

     

    Opportunity has this relationship with two entities by default – Contact and Account.

     pastedimage1617678582938v1.png

    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.

    https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn531171(v=crm.8)#create-or-edit-1n-relationships-between-entities

     4278.png

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans