Hi! Does anyone have a workaround for a Map/Redu...
# suitescript
d
Hi! Does anyone have a workaround for a Map/Reduce script that contains multiple formulas in a summary search of the getInputData stage? Apparently, not all columns are returned in the Map stage. The only solution I can think of is to fetch the result in the getInputData stage and build the array that is passed to the Map. The problem with this is, it might not be scalable and defeats the purpose of MR. Thank you!
b
create the search in code during getInputData, set the name of your formula columns to things like
formulatext_0
👍 1
a
If you create the columns this way you would not have any problems with multiple
formulanumeric
or multiple
formulatetext
and you avoid naming each formula in different ways.
d
Thank you @battk ! I learned something new today! :)