SALES ORDER UPDATE ITEM - add new Field

Hi,

How can we Add field in Sales order update item:

we wish to add the Bom no.

Please help

@ossphinc use customize form on doctype “Sales Order Item” to add more fields

This wont appear in update items.

In this function – we need to add new field

@ossphinc oh . you need to override the js function that open the dialog

We tried opening the erpnext.utils under sales order. But it wont work

@ossphinc the code is here . check line 53 and follow the function

Yes, we already saw this one but we cannot find the function of:

frm.add_custom_button(__(‘Update Items’), () => {
erpnext.utils.update_child_items({
frm: frm,
child_docname: “items”,
child_doctype: “Sales Order Detail”,
cannot_add_row: false,
})
});
}

We try editing the field and try renaming but it doesnt take effect

Any Updates?