Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Apply filter to saved search via Api
I have a saved search that i can return results via the Api but need to apply a filter to only return results based on set value.
How can i do this via api?
$service = new NetSuiteService();
$search = new CustomRecordSearchAdvanced();
$search->savedSearchId = "42";
$request = new SearchRequest();
$request->searchRecord = $search;
$searchResponse = $service->search($request);
this then returns the array containing all records but i need to return only records with a set common value in each of them.
0