How to fetch data from one DocType and populate Child Table?

I have built two DocTypes:

  1. BOM Template
  2. Book Order

In DocType Book Order I have provided a Link field which show names of BOM Template.

Now when user selects a BOM Template I need to fetch all the processes which are stored in BOM Template (child table Processes) and load them in the Child Table of Book Order.

How can we do this?

Regards,

If you have not checked then check it, please.

2 Likes