Fetch child table data of one doctype to another child table of another doctype

hi,
please refer this query