<@U7A0KGURX> when I create a WO by clicking on the...
# suitescript
t
@alien4u when I create a WO by clicking on the Work Ord. button, the WO form has a "created from" field. When I try to create a work order with Suitescript, the form doesn't have a 'createfrom' field. Am I doing something wrong, or is that just how NetSuite has it setup?
b
as an alternative, you can mark the assembly item as a special work order item
or mark the createwo column via script on the sales order
both the above will automatically create the work order
if you need to modify the work order, you can use a user event script after submit to make your changes
the unsupported alternative is to set the default values when you are creating the special order
these are the same values in the url when you manually create the work order from the sales order, with the strangeness that quantity doesn't work
which highlights how much it isn't supported