https://dynamicscrmclub.files.wordpress.com/2023/01/parentcheckinge.png
In case you ever tried to Merge records in Dynamics 365 CRM and it failed, you’d usually see the below error –
The error reads – “Unable to merge because sub-entity will be parented differently. You can disable the parent check prior to execution as part of Merge dialog.“
Let’s see why this error occurs and how to solve this.
Scenario
This scenario occurs because the records you are trying to Merge had different Parent records already.
Example –
- Notice the below records selected for Merging –
The Contacts to be Merged already belong to different Parent Account - And when you select them for Merging using the Merge button upon their selection.
- You’ll also be given Parent Checking selected by Default.
- This is what causes the error.
Now, if they either had the same Parent or one of them doesn’t have a parent, this won’t appear and they’ll be Merged. - Now, they’ve been correctly Merged and only 1 record exists.
Hope this helps!
Here are some Power Automate posts you want to check out –
- Select the item based on a key value using Filter Array in Power Automate
- Select values from an array using Select action in a Power Automate Flow
- Blocking Attachment Extensions in Dynamics 365 CRM
- Upgrade Dataverse for Teams Environment to Dataverse Environment
- Showing Sandbox or Non Production Apps in Power App mobile app
- Create a Power Apps Per User Plan Trial | Dataverse environment
- Install On-Premise Gateway from Power Automate or Power Apps | Power Platform
- Co-presence in Power Automate | Multiple users working on a Flow
- Search Rows (preview) Action in Dataverse connector in a Flow | Power Automate
- Suppress Workflow Header Information while sending back HTTP Response in a Flow | Power Automate
- Call a Flow from Canvas Power App and get back response | Power Platform
- FetchXML Aggregation in a Flow using CDS (Current Environment) connector | Power Automate
- Parsing Outputs of a List Rows action using Parse JSON in a Flow | Common Data Service (CE) connector
- Asynchronous HTTP Response from a Flow | Power Automate
- Validate JSON Schema for HTTP Request trigger in a Flow and send Response | Power Automate
- Converting JSON to XML and XML to JSON in a Flow | Power Automate
Thank you!