I am using this script ( <https://stackoverflow.co...
# suitescript
k
I am using this script ( https://stackoverflow.com/a/59816253 ) but the restlet is only returning 999 records ---- any ideas of how to return full resultset? I have about 2600
b
fair chance you want to use 1000 instead of 999 as your increment
c
You're limited in the result set depending on the search you're doing. Whatever search your RESTlet is doing, look at the solutions for getting ALL results and use 1000 at a time.
k
I thought that was what this script did where its doing slices of 1000
hm
c
check out Suite Answer: 86166
k
hm thanks, its similar to what I'm using but I'll switch with this code
thank you for your help
Seems to have worked, I get correct recordcount, but the resultset isnt in format I wanted. Will work with this, thank you.
👍 1
s
alternative would be to not write any of that code at all and just use the NFT lazysearch feature.
t
I am jealous of you , I don't know how to use that @stalbert.
s
To return the results of an arbitrarily large search (assuming paging through results doesn't exceed governance or the max response size)
Untitled.ts