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
miteshsuramiteshsura 

Clone custom objects related list

Hi all,

 

at first I thought this would be straight fwd, and did not even care to test the cloning of custom master-child objects.. my bad, should have tested based on my experience with SF.. 

 

I have 2 custom objects: Product Bundle(master) and Product Line Items(Child). 

When I clone master record, I want the related Product line items to be conned as well, but that is not happening.. 

How can I achieve this functionality without building my own VF and Controller. 

 

Is there something like trigger.Clone that I can use??