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:
This one duplicates a parent row alons with various "children" branches. This requires to know how many different branches are possible in advance.
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 ! ๐