I have a small problem because I need to write a trigger which will update checkbox when the related object will be deleted.
Between those object is lookup relation. So only what I need is when Object A does not have any related Objects B then mark the checkbox which is exist on Object A to False. Obviously Object A might have a few related Objects B. So the checkbox should be change after if number of related Objects B will be 0.
Anyone could help ?