You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2023. It is now read-only.
hayden-t edited this page Apr 22, 2017
·
3 revisions
Search results in netsuite are generally limited to a maximum of 1000. To get around this rest_suite runs a while loop repeatedly requesting results and accumulating them until it has them all, unless...
This is where batch size comes in, it lets you specify a number greater than 1000 that the searcher will stop at.
Initially i thought it could be used to specify a page size / result set eg less than 1000, but this does not appear to be possible with nlapiSearchRecord, rather nlapiCreateSearch would be better for than.
Here is the logic code from search.js that handles batch size: