Join Slack
Powered by
Given a saved search created in SS2, is there a si...
# suitescript
j
jen
03/18/2019, 4:45 PM
Given a saved search created in SS2, is there a simple way to just get a count of the number of results?
b
battk
03/18/2019, 4:52 PM
you can do a paged search and use PagedData.count.
j
jen
03/18/2019, 4:52 PM
@battk
yeah that seems to be the way. Haven’t used Paged Search before. Seems weird that there’s no .count() function on either a search or ResultSet
k
karlenigma
03/18/2019, 5:25 PM
You can just do .length on the results.
w
wbermudo
03/18/2019, 7:35 PM
other way too is to add a summary type of ‘COUNT’ on internaild
3
Views
Open in Slack
Previous
Next