Listen "D365 CRM Entity Relationships"
Episode Synopsis
How can you predict the behavior of the effect of record deletion on its related records?
If you are aware of the "Type of behavior" of the relationship between two entities in Microsoft Dynamics 365 CRM then you can understand it as follows easily.
Primarily there are two types of relationships - one is Referential and another is Parental. Let's talk about each of these relationships one by one.
If the relationship is Referential and Remove Link on Delete: then any actions taken on one will not affect the other.
If it is Referential and Restrict Delete: then any action taken on the parent record will not be applied to the child record, but the parent record cannot be deleted while the child record exists.
Next is the Parental relationship, which establishes a very tight link between records.
If it is Parental: then any action taken on a record of the parent table is also taken on the related child table records.
If it is Custom: then Custom behavior for each possible action is applicable. For Custom behavior, setting up detailed cascading options for Delete, Share, Reparent, Assign, and Unshare can be possible.
However, the "Type of behavior" option is not applicable for many-to-many relationships, where any actions taken on one will not affect the other.
If you are aware of the "Type of behavior" of the relationship between two entities in Microsoft Dynamics 365 CRM then you can understand it as follows easily.
Primarily there are two types of relationships - one is Referential and another is Parental. Let's talk about each of these relationships one by one.
If the relationship is Referential and Remove Link on Delete: then any actions taken on one will not affect the other.
If it is Referential and Restrict Delete: then any action taken on the parent record will not be applied to the child record, but the parent record cannot be deleted while the child record exists.
Next is the Parental relationship, which establishes a very tight link between records.
If it is Parental: then any action taken on a record of the parent table is also taken on the related child table records.
If it is Custom: then Custom behavior for each possible action is applicable. For Custom behavior, setting up detailed cascading options for Delete, Share, Reparent, Assign, and Unshare can be possible.
However, the "Type of behavior" option is not applicable for many-to-many relationships, where any actions taken on one will not affect the other.
More episodes of the podcast Microsoft Business Solutions
Templating language for Power Apps Portal
25/02/2022
Automation features in D365 CRM
20/02/2022
Dynamics 365 ERP
02/02/2022
Extensibility of Dynamics 365
02/02/2022
Integrating Dynamics 365 with SharePoint
26/01/2022
Microsoft Power BI
16/01/2022
Charts and Dashboards in Dynamics 365
19/04/2021
Demystifying Microsoft Business Solutions
17/04/2021
Integrate with Dynamics 365
05/04/2021
Admin Tools for Dynamics 365
12/03/2021
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.