yeah I'm assuming there will be one result per ite...
# suitescript
j
yeah I'm assuming there will be one result per item so you should only have one value in the reduce section, your best bet would be to add some more logging to check the values you're getting back, you might want to use a search specifically for testing that will only return 1 item so your map/reduct won't run through each before finishing