Hi,
I am trying to show the Raw Material Cost from BOM DocType in the Production Order but to no avail. Both source and target fields are in Currency.
I am using the following custom script in Production Order.
frappe.ui.form.on("Production Order", {
refresh: function(frm) {
frm.add_fetch("bom_no", "raw_material_cost", "raw_material_cost")
}
});
Anyone can help here? Thanks!