function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Does children automatically get deleted?

Hi all,

Just one quick question, if I create a child custom object under opportunity (or any object), if an opportunity gets deleted (a parent), do all the children get deleted automatically as well? Or I need to manually/programmatically clean things up? Thanks.

Children that are related to opportunities as a master/detail (rather than lookup) relationship will be automatically deleted.