I ultimately want to update a custom field on the ...
# suitescript
m
I ultimately want to update a custom field on the item record with the quantity. I think I'd need to take that into a Map/Reduce, but I was having the same issues there, so I shortened it up and put it here just to learn and figure some stuff out.