I have a saved search in Netsuite UI
to search the saved searches. I need to execute this saved search and get the results in suiteTalk
.
I have called
GetSavedSearchResult savedSearchResult = service.getSavedSearch(new GetSavedSearchRecord() { searchType = t, searchTypeSpecified = true });
on every searchType
and the saved search does not appear in any of the results.
You can access the results of an existing saved search using an Advanced Search web service call. You will need to know the type of record for which the saved search was defined. For example, if you want to get the results of an existing saved search that returns customer records, you can do this:
You can see an example of this on page 271 of the 2016.2 SuiteTalk Plaform Guide. The section is called "How do I reference an existing saved search?"