Why would you "replace" a map stage with a reduce ...
# suitescript
s
Why would you "replace" a map stage with a reduce stage... You have to manually create a loop and parse each result in the array, when the getInput/map do that for you