result object looks like this.
# suitescript
c
result object looks like this.
s
I think that should work, though I don't really ever work with raw search results objects.
c
I want to pass a result object to the map function in a map.reduce script so the map function can extract the data it requires to generate other transactions using fields from the result object
b
if this is a map/reduce script, then parse your value
s
If you want all search results to be sent to map() you need only return the search itself from getInputData()
or even a search reference
b
otherwise the id and record type should have a value unless using summary columns
c
What do you mean by parse the value?
b
mapContext.value is a string
👍 1
c
parse to an object then, I'll test that now
That works - thanks!
s
that is one way MR is more pain than Scheduled scripts.