You need to sign in to do that
Don't have an account?
Radha Rathinavel Pandian
after delete to uncheck the checkbox
Hi ,
I have to uncheck the checkbox on child object when my parent object record gets deleted.
Parent object : raddes have a some records
Child Object : radparent
I have a check box on radparent. now, my requirement is when i deleted a parent record in raddes the checkbox on child object "radparent" should uncheck which mean we need to check the size of the object and update the child update checkbox.
I have to uncheck the checkbox on child object when my parent object record gets deleted.
Parent object : raddes have a some records
Child Object : radparent
I have a check box on radparent. now, my requirement is when i deleted a parent record in raddes the checkbox on child object "radparent" should uncheck which mean we need to check the size of the object and update the child update checkbox.
You can achieve this by using trigger.
In my case I am taking ------------------- Parent = Account and Child = AccEmployee__c (Relationship Lookup). You need to change Object Names and fields in the below code.
Please mark as best answer if helped.
Regards,
Ramakant