Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: How to Delete all the Related child records from all the related entities with the parent entity.

$
0
0
Hi, I would suggest you to go with Out of box Bulk delete job to delete parent entity and it will delete all child entity records. Another approach would be, 1) Create bulk delete jobs for different child entities separately (Need to write accurate query in job). 2) Delete these child entity records first and after these jobs finished, create Bulk delete job for parent entity. The advantage in this approach is, while deleting Parent entity records deletion process will be quick as you have already cleared most of the child records. Test thoroughly this approach before implementation. Thanks, Anand

Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>