Copy parent along with various children and grand children

Aurelien
Google Developer Expert
Google Developer Expert

Dear Community, 

A lot have been done about duplicating records, for use cases such as Quotes and invoices for example.

Based on excellent posts such as these ones:

Copy parent record together with child records ; A... - Google Cloud Community

Copy Parent and child records in one action. No AP... - Google Cloud Community

I propose here two more sample apps:

PF_Parent_Child1_Child2_noBot

This one duplicates a parent row alons with various "children" branches. This requires to know how many different branches are possible in advance.

PF_Parent_Child_GC_noBot

This one duplicates a parent, a child, and a grand-child. 

These two mechanisms can be merged into an even more powerful duplication system, but the purpose of these two sample apps are to be "how-to" apps.

 

Enjoy ! 

 

And thank you @Suvrutt_Gurjar for the reminder about this post ! ๐Ÿ˜

5 0 151
0 REPLIES 0
Top Labels in this Space