Fatch Data In One Child Table to Antother Child Table

i have a one custom doctype container and chiled doctype is container item chiled,
and one delivery not doctype and child table is container item .
so i fatch data in container item child to container item.
i try below code, but not working so any solution ?.

frappe.ui.form.on(“Deliver Note”, {
“container_no”: function(frm, cdt, cdn) {
frappe.model.with_doc(“Container”, frm.doc.container_no, function() {
var tabletransfer= frappe.model.get_doc(“Container”, frm.doc.container_no)
$.each(tabletransfer.container_items, function(index, row){
d = frm.add_child(“container_item”);
d.item_name = row.item_name;
frm.refresh_field(“container_item”);
});
});
}
});