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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

On delete property for the delete action

(2) ShareShare
ReportReport
Posted on by 124
Dear team, 
 
For one of the business requirements, I needs to implement delete action. So, I found the "On delete" property on table relation.
 
So, I have decided to do the On delete property on Child table because:
 
1.The child table holds the foreign key.
 
2.The relation exist from Child to Parent .
 
3.The system should need to know, what to do with the child records when Parent records got deleted .
 
So, I believe the Child table is recommended to use "on delete" property for the delete action .
 
Is am i correct?
.
Please give me the thoughts. thanks!
Categories:
I have the same question (0)
  • Verified answer
    Sagar121 Profile Picture
    941 on at
    Hi,
     
    Yes the relations will be created in child Tables. ( Child -> Parent)
     
    Cascade:- if you delete parent record all child records will be auto deleted.
    Restricted:- if child record exist then you can't delete parent. ( will give dependency error)
    Cascade+Restricted:- If child will not exist delete is allowed. If child exist then delete not allowed.
     
     

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

News and Announcements

Season of Giving Solutions is Here!

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 763 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 284 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans