Discussions
Workflow Added Line Item Causing Issue with Fulfillment
I created a workflow to add a non-inventory item on any order placed by X customer.
Workflow > Transaction > Sales Order
Event Based > On Create
Condition = Customer Name = X
State 1
Create Line before 1st Line
Sublist > Items
Field: Item (Line) Selection : Non Inventory Item
Field: Quantity (Line) Text: 1
Field: Amount (Line) Text: 0.00
The workflow works for adding the line item, but when our warehouse was picking the items they received an error: Cannot call method "toUpperCase" of undefined
I know this is something being cause by the workflow because if the item is added manually there's no issue. However I am unable to tie the error to what needs to be corrected.