Is this the proper script to fetch value from an Item?
cur_frm.add_fetch(“item”,“supplier_discounting_rate”,“supplier_discounting_rate”);
NOTE:
supplier_discounting_rate is also a custom field i added.
Is this the proper script to fetch value from an Item?
cur_frm.add_fetch(“item”,“supplier_discounting_rate”,“supplier_discounting_rate”);
NOTE:
supplier_discounting_rate is also a custom field i added.
You wont know until you try.
If it doesn’t work, make sure the field supplier_discounting_rate
is present in your current form as well the document in the link field item
.
got it working. wrong doctype set in custom script.