Has anyone created a script to automatically copy ...
# suitescript
l
Has anyone created a script to automatically copy the bin from a CUSTOM field from the sales order and work order TO the item fulfillment and assembly build/work order issue at the time of creation of the latter? Is it doable? How complex it is?
b
doomed
the field is mandatory and inventory details cannot be set in client script or before load suitescript
l
That sucks. Thank you for saving me time and effort.
But, let's say users are not allowed to edit the bin in IF, AB or WI, does that mean that the script will work if let's say triggered at Before Record Submit?
b
Im not sure how you get to the before submit
n
That's what I was trying to tell you in #C298P0BCK. You will need to set it on the SO lines so you can create the item fulfillment without the need to assign. OR you can create a button on the sales order, pressing it will create the IF in the backend and you can pick the bin value from your custom field.