Just activated Advanced Bin / Numbered Inventory M...
# inventory
d
Just activated Advanced Bin / Numbered Inventory Management feature, and now I cannot do a
nlapiTransformRecord('salesorder', id, 'itemfulfillment')
because I get back this error:
VALID_LINE_ITEM_REQD: You must have at least one valid line item for this transaction.
I see that I have to set the Inventory Detail on the Item Fulfillment, but it's a subrecord and i'm not sure how to set that during a
nlapiTransformRecord()
b
Your error is saying that there are no fulfillable items on your order
If its fulfillable in the ui, take a look at the url parameters when creating the fulfillment and add those values to the initialization default values parameter
👍 1
d
thanks @battk, the query string revealed a value i was missing in my default initializer