Hi All,
Just need to know how to make the get items button clicked if the bom no is there. Following is my try. Thanks.
frappe.ui.form.on(‘Stock Entry’, {
refresh(frm) {
if(frm.doc.bom_no){
----------------------------
msgprint(‘Click the Above’);
}
}
})