i want to route child table from Quotation to custom docype called RFQ
and here is my code
frappe.ui.form.on(“Quotation”, “rfq”, {
_create_rfq: function(frm,cdt,cdn){
var child = locals[cdt][cdn];
frappe.route_options = {“party_name”: frm.doc.party_name, “RFQ Item”: child.item_name };
frappe.set_route(“Quotation”, “rfq”);
}
});
Thanks in advance
any Help ?