You need to sign in to do that
Don't have an account?
Renil Rejith
Delete a custom object using apex trigger
Hi,
SO I have this custom object called member(master) which is a master object for another custom object dependents(detail). Now when I delete this member object all its dependent object must be deleted . Can somebody help me with this using a trigger code.
SO I have this custom object called member(master) which is a master object for another custom object dependents(detail). Now when I delete this member object all its dependent object must be deleted . Can somebody help me with this using a trigger code.
I trust you are doing very well.
Please try the below code, it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
All Answers
I trust you are doing very well.
Please try the below code, it is working fine. Kindly modify the code as per your requirement.
I hope it helps you.
Kindly let me inform if it helps you and close your query by marking it as solved so that it can help others in future.
Thanks and Regards,
Khan Anas
It's my pleasure. I’m glad I was able to help!
Kindly mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue. *(After you choose the best answer the question is marked as “resolved”)*
May the (Sales)force be with you :)
Happy Learning!
Regards,
Khan Anas