Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
AdvancedSearch failure ... webservices.beta.netsuite.com/wsdl/v2008_2_0
https://webservices.beta.netsuite.com/wsdl/v2008_2_0/netsuite.wsdl
when i am using the searchid from the previous search for advanced search it gives error search id not found.
Even the GetSavedSearch returns no records after a search is fired.
this is the code:
ContactSearchAdvanced csa = new ContactSearchAdvanced();
ContactSearch cs = new ContactSearch();
ContactSearchBasic csb = new ContactSearchBasic();
CreateSearchQuery("mar", csb, "FirstName");
cs.basic = csb;
csa.criteria = cs;
SearchResult _searchResult = ServiceInstance.getInstance().search(csa);
//searchresult returns two records...
GetSavedSearchRecord gsr = new GetSavedSearchRecord();
gsr.searchType = SearchRecordType.contact;
gsr.searchTypeSpecified = true;
GetSavedSearchResult gssr = ServiceInstance.getInstance().getSavedSearch(gsr);
gssr returns no records...
csa = new ContactSearchAdvanced();