NCP
2
Hi @thelahera,
The problem within these two lines.
So please check the syntax.
frappe.ui.form.on("Asset Repair Consumed Item", {
consumed_quantity: function(frm,cdt,cdn) {
var d = locals[cdt][cdn];
frappe.model.set_value(cdt, cdn, 'available_quantity', "Hello World");
}
});
Thank You!