Hi all, Does anyone have experience creating workf...
# general
k
Hi all, Does anyone have experience creating workflow? I want to create a workflow that will automatically fulfill any non inventory item on a sales order after it is created.
m
Hi Ken, this can be done via workflow using the Transform Record action. However, there will probably be a limitation in that it will fulfill ALL lines on the sales order. So if you have both Inventory and NON Inventory lines it will try to fulfill all of them. You can't selectively choose which lines to fulfill in a WF
k
@MGBC Is it possible to use the saved search to filter and can workflow be able to grab those items that is filter?
Something where I can get the line_id of the item I need then have workflow do use that line_id?
m
Unfortunately, the transform record action is essentially just taking all information from the entire transaction and creating a related transactoin (Item Fulfillment) with it. Another option is you can uncheck the "Can be fulfilled received" checkbox on your non-inventory items...then they will not require receipt or fulfillment
k
I want to rule out all possibility before I start creating suitescript
m
I believe the transform record action does not support sublist manipulation during the transform process, you can only set header feilds during the transformation
k
When you say header fields, does that means the main line fields?
m
Yes
l
Why are you planning to do that in the first place? Is it because they are not meant to be fulfilled anyway? If so, in case you're not aware, there's a Can Be Fulfilled/Received box in the item record. Uncheck that to skip the Item Fulfillment AND Item Receipt process.
k
Currently it is how we are set up doing that. I just want to rule out the possibility that automatically doing item fulfillment on only non inventory item can’t be by workflow
👍 1
@Luis
@MGBC How would I be able to create an item fulfillment using Workflow? I am getting
Copy code
Action execution FAILED: You must enter at least one line item for this transaction.