In Map/Reduce scripts, can you provide an object a...
# suitescript
b
In Map/Reduce scripts, can you provide an object as the second argument to
context.write()
in the
map
entry point? Ex:
context.write(someRecordId, {prop1: 'a', prop2: 'b'})
I ask because in my reduce entry point,
context.values
is returning
[Ljava.lang.String;@65536ac6
rather than an array, object, or stringified array/object