HI ALL,
I want to dynamically assign Customers’ Sales Order to their Supplier. In ERPNext, I know there is ‘ASSIGNED TO’ (Assign +) link in the left side of the doctype. How to access that field in the python code?
Database column field is ‘_assign’.
I want to insert supplier’s name in that column of the Sales Order.
Doing so, it will come in TO DO list of the Suplliers’ account.
self._assign = "Supplier"
won’t work.
Then how? anybody know how to access and assign suppliers to sales order dynamically (at the time of sales order is created)