How to create a Work Order with a BOM Revision feeding all lines appropriately using native behavior in SuiteScript 2.0? I was hoping to simply mimic the default behavior by setting
isDynamic : true
in
record.create
but that doesn’t seem to have done the trick. Error below:
USER_ERROR You must enter at least one line item for this transaction.
ec
03/18/2020, 7:36 PM
Got it. Wasn’t properly setting all the values - not sure what happened but between Item, Location, BOM and Revision and Quantity one of the fields must have been not set properly. Working now, thanks!