Hello:
I have customized fields in the child table. How can I get the data in other fields?
Considering you want to set values in Purchase Receipt Item Field
frappe.ui.form.on("Purchase Receipt Item", {
your_child_table_field_name: function (frm, cdt, cdn) {
let row = locals[cdt][cdn];
frappe.model.set_value(cdt, cdn, "your_child_table_field_name_where_you_want_to_set_value", row.your_child_table_field_name);
}
});
Thank you very much for your reply. Now I have a new problem, which is that the floating point format cannot be called by the custom print template, but the data format can be called, please, how can I call the floating point format?
Thank you!