Dear All,
I am creating 2 Tables :
1. StudentDetails (Parent)
Field : StudentID
2. MarkDetails (Child)
Field : StudentID
Marks
Relation : MarkDetails.StudentID == StudentDetails.StudentID
Then set DeleteAction in to Parent table (StudentDetails)
Table : MarkDetails
DeleteAction : Cascade OR Restricted OR Cascade + Restricted
Relation : StudentDetails
1. Cascade :
Now i am tested Cascade. When i go to delete records from parent table (StudentDetails). It's showing message "Are you want to sure delete records". If we select YES then it will delete records from Parent and Child table both selected records.
2. Restricted :
Now i am tested Restricted. When i go to delete records from parent table (StudentDetails). It's showing message "StudentDetails cannot be deleted with dependent MarkDetails exist. Delete dependent MarkDetails and try again.
3. Cascade + Restricted :
Now i am tested Cascade + Restricted. It's showing as it is same like "Restricted" delete action.
Could you please explain me
1. What is the difference between Restricted and Cascade+Restricted delete action ?
2. Which methods are internally called in Table when we are using delete action.
3. Is there any difference between A 2009 and AX 2012 delete action? Actually i found in delete action properties, one more row added "relation" in AX 2012 and info message is different in Cascade and Cascade+Restricted in AX 2009 and AX 2012.
Please give me ans point wise.
Thanks!
Regards,
Arpan Sen