given the data in the screenshot, and the followin...
# suitescript
m
given the data in the screenshot, and the following: var qty = searchResults[0].getValue({name:'quantity', summary:search.Summary.SUM}); var isLot = searchResults[0].getValue({name:'item.islotitem', summary:search.Summary.GROUP}); Why does qty return the value (9094), but isLot is null (not getting to the boolean)? Also, where does the best documentation for SS2.0 live? I'm quite new to SCA and haven't always found the best resources. Thank you.
r
This
searchResults[0].getValue({name:'item.islotitem', summary:search.Summary.GROUP});
is incorrect. Looking at the screenshot, this result column looks like it has a join. So it should be
searchResults[0].getValue({name:'islotitem',  join: 'item', summary:search.Summary.GROUP});