Ex:
Item code:-IT001-demo-item
instead of this i want to show the demo-item only is this possible …need help for the same …
Ex:
Item code:-IT001-demo-item
instead of this i want to show the demo-item only is this possible …need help for the same …
any example for child table item code
Ex:
Item code:-IT001-demo-item
instead of this i want to show the demo-item in sales order only is this possible …need help for the same complete example
I encountered the same issue. Try using the following script:
frappe.form.link_formatters['Item'] = function(value, doc) {
if (doc.item_code && doc.item_name !== value) {
return doc.item_code;
} else {
return value;
}
};