Hy Experts
Will anyone help for client script to calculate Amount by Quantity*Labor Rate! (stock entry type: Manufacture)
Hy Experts
Will anyone help for client script to calculate Amount by Quantity*Labor Rate! (stock entry type: Manufacture)
@NCP Thanks…I followed your script.
frappe.ui.form.on("Landed Cost Taxes and Charges", {
custom_labor: function(frm,cdt,cdn) {
var d = locals[cdt][cdn];
frappe.model.set_value(cdt, cdn, 'amount', (d.custom_qty * d.custom_labor));
}
});