In a nutshell, Children are deleted automatically in Master Detail relationships, but not Lookup relationships.
If you need to delete children when a parent is deleted, then you will need to write a on delete Apex trigger on the parent object to handle that situation.
In a nutshell, Children are deleted automatically in Master Detail relationships, but not Lookup relationships.
If you need to delete children when a parent is deleted, then you will need to write a on delete Apex trigger on the parent object to handle that situation.
Suggestion would be highly appericiated
Thanks
go into your lookup relationship object edit your lookup details and in lookup Options you can set this.
Hope it works for you !!