Solved
Forum Discussion
@bojanvelevski I was trying with this approach, but getting below error.
expression using : $.reduce((acc,curr)=> acc + curr.INSTALLCUQTY,0)
Also, getting ‘null’ as output for sum.
bojanvelevski
3 years agoValued Contributor
Does it mean that your input is plain array literal and not an object array?
The error you’re receiving is telling you that the instance of “curr” - current is a BigDecimal. Can you provide a sample payload here?