hey guys.
I'm a bit lost here and I think this may be a defect.
From the Sales Order UI, you can click on Fulfill order and essentially pick and choose which items you wish to mark as shipped or packed or what ever.
When i try to do this Scheduled Script, It errors out with Unexpected here.
for (var itm=1; itm <= itemCount; itm++) { if (arFfitems.contains(itemff.getLineItemValue('item','item',itm))) { itemff.setLineItemValue('item','itemreceive',itm,'T'); } else { itemff.setLineItemValue('item','itemreceive',itm,'F'); } } If i comment out above line, which defaults to fulfilling ALL item on the list.When i use above line trying to emulate me picking and choosing which items to mark it as shipped, it throws "Unexpected Error"I've seen some threads here regarding similar script and it's saying that's it's been fixed or what not. Has anyone seen this?