Can't delete record because of a restrict-delete relationships
This article helps resolve issues with deleting records with a restrict-delete association in Microsoft Dynamics 365 Field Service.
Symptoms
Related records with a restrict-delete association block the record deletion.
Resolution
To fix this issue, identify the relevant entities with such relationships, and then delete the records of those entities related to the record you are now trying to delete.
- Go to Settings > Customizations.
- Select Customize the system.
- Locate the entity with records you want to delete, such as Accounts.
- Go to 1:N Relationships for the entity.
- Find any relationships where the Type of Behavior is Referential, Restrict Delete.
- Take note of the related entity for each of those relationships; these are the type of records that might restrict your ability to delete the record.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for