When I generate a material request from a sales order, I would like it to fetch the customer and the customers mobile onto the material request form. This is because many of our customers have items on order with us and it’s faster just to call them from the material request list.
I have a link field called customer_name and a data field called mobile number on Material Request.
The mobile number is fetched just fine if I create a new Material Request from the Material Request List page and then select a customer. However if I create the Material Request by pushing the “+” sign from the Sales Order dashboard, the Customer is fetched, but the number is not.
I’m using this script:
cur_frm.add_fetch(‘customer_name’, ‘mobile_no’, ‘mobile_number’);
I’ve also tried using the script found in this post Cur_frm.add_fetch from another doc dashboard