Did anyone try to set lot numbers on work order co...
# suitescript
l
Did anyone try to set lot numbers on work order completion through suitescript? It seems that client-side script does not work and server side is already too late as inventory details are mandatory...
n
Client script cannot access Inventory Details subrecord.
You can create the work order via server side SuiteScript.
l
Ok, but the customer wants to enter work order completion. In that case, to be able to execute user event you need to submit the record, to submit the record you need to provide inventory details and that's what I want to avoid. On the forum, I have found info that it is not possible without providing some innvetory numbers (so need to provide at least dummy ones)...surprise, surprise 'love you' NS
Anyway - thinking of making sure that qty to built is 0 by asking the customer to work on dummy fields and set actual fields to cause qty to built to be different from 0 in user event where I can set inventory. A nasty workaround, but maybe it will work...