Hello all, I'll try to add as much detail as possi...
# suiteflow
k
Hello all, I'll try to add as much detail as possible. But in general what I am trying to accomplish is to create a workflow that on sales order create, transform record into an item fulfillment. Ive been trying to figure it over the last couple of days to no prevail. My sales orders are created by suitelet rather than UI context. I can see the workflow is initiating on sales order creation, but it keep throwing an error. Im pretty knew to workflows and still trying to get a hang of it, any points in the right direction would be very helpful. Attached are my workflow settings and parameters and the error message im getting
s
That error typically means none of the items on the sales order are committed (therefore there is nothing to fulfill)
k
thats what I assumed at first, but as you see the line item on the order shows committed
s
Yeah you don't actually know when the commitment engine is running, it probably is not happening between beforeSubmit and afterSubmit on CREATE.
k
at quick glances do you think there is a work around for where I can create these item fulfillments from the sales order successfully?
s
You could make the workflow scheduled and just do the transform a bit later rather than immediately when made.
k
thank you for the advice, I tried adding a schedule on to the transform record action, not working as I intended it seems,
b
your error is casued when netsuite thinks your fulfillment has no lines to fulfill
if you need to set the receive checkbox in the ui, you will have to do so your workflow as well
the other cause is that the item fulfillment requires a default transform value when being transformed
usually location or shipgroup, you can usually tell from the url when you fulfill the sales order from the ui
k
so when performing a UI item fulfillment, the url on the to be generated page i receive is this: **/.com/app/accounting/transactions/itemship.nl?id=539862&e=T&transform=salesord&memdoc=0&whence=&inventorylocation=1
b
that one requires the inventorylocation default value to be set to the location with internal id 1
not sure if that is an option for workflow
it is for suitescript
k
ah not too familiar with suitescript, I assumed because the sales order had the inventory location passed to it, it would pass that to the IF