You need to sign in to do that
Don't have an account?
Sandy singh
on click of delete button from junction object how to delete record from objects which linked
Hi all,
I have one junction object EmpDepartment which link with Employee and Department object and on click of stranded delete button it will delete record from all three object (EmpDepartment, Employee ,Department ).
Can any one help me on this requirement.
Thanks in advance,
Sandy
Sandy,
Rather than relying on a button to hold the logic to delete the related objects, I would suggest using a trigger on the junction object itself:
Hope this helps.
Jay
All Answers
Sandy,
Rather than relying on a button to hold the logic to delete the related objects, I would suggest using a trigger on the junction object itself:
Hope this helps.
Jay
Thanks Jay,
It's solve my requirement.