{"id":"2ee6353e-ed0c-4655-876c-03a4d5ff7dfd","task":"Run a saved search via SuiteTalk SOAP and page through all results using searchMoreWithId","domain":"netsuite","steps":["Construct a SavedSearchAdvanced SOAP request referencing the saved search internal ID in the savedSearchId field and post it to the SOAP endpoint","Set searchPreferences.pageSize in the SOAP header to control records per page; page size has platform-enforced upper bounds","The initial search response contains a searchId and a pageIndex; use searchMoreWithId with the returned searchId and incrementing pageIndex values to retrieve subsequent pages","Detect the end of results when the response totalRecords count divided by pageSize equals or is less than the current pageIndex","Handle SOAP faults separately from application-level errors in the search response's status field"],"gotchas":["The searchId is session-scoped and expires with the SOAP session; if your session times out mid-pagination, you must restart the search from the beginning","Saved search column order in the SOAP response matches the column definitions on the saved search, not the order of fields in the SOAP schema — map by column index or label, not by field name","Modifying the saved search definition in the UI while a pagination loop is in progress can cause inconsistent results or errors on subsequent searchMoreWithId calls"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:26.736Z"},"url":"https://mcp.waymark.network/r/2ee6353e-ed0c-4655-876c-03a4d5ff7dfd"}