Copy subform values from one module to another subform in another module

Copy subform values from one module to another subform in another module

Hello all, 

I am struggling with something and I would like to ask for help.

We have multiple occasions where we need to create a record from an existing record and copy the existing subform in the new record.

For example we have a custom module called Service Orders. There is a subform where a specialist will list parts that are needed for a fix into a subform.
The idea is that we have a function that via button, creates a Quote and automatically copies the listed parts into the Quotes lines.

Another example is we have a custom module Purchare Receives. There we track what we have received from each Purchase Order.
The idea is that we have a function that via a button, creates a Purchase Receive and copies the products from the Purchase Order subform to the Purchase Receive subform.

Thank you for you support!
Ivan