using SOAP, how do I paginate the getSavedSearch r...
# ask-stanley-ai
j
using SOAP, how do I paginate the getSavedSearch request? There are more than 1000 records and I am receiving a MAX_RCRDS_EXCEEDED error
c
AI generated answer (using internal Slack threads):
The
getSavedSearch
SOAP request in NetSuite does not support pagination and has a limit of 1000 records. If you exceed this limit, you will receive a
MAX_RCRDS_EXCEEDED
error. Unfortunately, the
getSavedSearch
request does not accept pagination or limit attributes. This means that if you have more than 1000 records, you will need to find a workaround. One common workaround is to clean up your saved searches in NetSuite. This involves deleting saved searches that are no longer being used, in order to reduce the total number of saved searches to fewer than 1000. Once the number of searches is reduced, the
MAX_RCRDS_EXCEEDED
error should no longer appear. Another possible workaround is to adjust your saved search criteria or sort order to ensure that the number of records returned does not exceed the limit. For example, you could sort by
InternalID
or change the search criteria to return fewer records. Please note that these are workarounds and may not be suitable for all use cases. If you are frequently encountering this issue, it may be worth considering a different approach or tool that can handle larger volumes of data. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838080466
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836835802
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834472477
Please provide your feedback on this answer.