{"type":"error.SuiteScriptError","name":"VALID_LINE_ITEM_REQD","message":"You must have at least one valid line item for this transaction.","stack":["createError(N/error)","reduce(/SuiteScripts/blxs_mr_auto_fulfill.js:85)"],"cause":{"type":"internal error","code":"VALID_LINE_ITEM_REQD","details":"You must have at least one valid line item for this transaction.","userEvent":null,"stackTrace":["createError(N/error)","reduce(/SuiteScripts/blxs_mr_auto_fulfill.js:85)"],"notifyOff":false},"id":"","notifyOff":false,"userFacing":false}
Has anyone dealt with this error before? Trying to pinpoint what could be causing this. The script was working just fine a few days ago.
b
battk
11/03/2020, 7:11 PM
Find the transaction its failing on and make sure its fulfillable in the ui
battk
11/03/2020, 7:12 PM
If its fulfillable in the ui, then take a look at the url parameters while creating the fulfillment
battk
11/03/2020, 7:13 PM
Identify any defaultValues that need to be set
j
Juan Corado
11/03/2020, 7:14 PM
Hi @battk,
It's failing on all our transactions.
I think I know what you're mentioning. Currently we don't set any default values, I'll take a look.
Thanks btw!