Join Slack
Powered by
Hello, I am looking for popular 3rd party librarie...
# suitescript
u
Umar Naeem
09/03/2021, 11:24 AM
Hello, I am looking for popular 3rd party libraries for SuiteScript 2.0.
c
CD
09/03/2021, 11:26 AM
What functions are you looking for?
u
Umar Naeem
09/03/2021, 11:27 AM
Functions like getting all results from saved searches, without doing the do while everytime.
r
reptar
09/03/2021, 12:26 PM
Do while? The documentation recommends Search.run().each() or Search.runPaged().
u
Umar Naeem
09/03/2021, 12:27 PM
welp .each has a limit of 4k results only. To counter that limitation we do .gatRange in a do while and store all the results in an array.
r
reptar
09/03/2021, 12:47 PM
runPaged I think.
https://sodocumentation.net/netsuite/topic/10687/searches-with-large-number-of-results
s
stalbert
09/03/2021, 2:23 PM
https://github.com/ExploreConsulting/netsuite-fasttrack-toolkit-ss2#lazy-search
👍 1
Open in Slack
Previous
Next