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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Timeouts
Similar to another thread in this forum, I believe something has changed recently, as all of a sudden my Customer searches are timing out. Is anyone else seeing this or am I doing something wrong? Here's my C# code that searches by customer (entity) Id:
NetSuiteService mySession = (NetSuiteService)session; RecordRef[] idRef = new RecordRef[1]; idRef[0] = new RecordRef(); idRef[0].internalId = recordId; idRef[0].typeSpecified = true; SearchMultiSelectField smsf = GetSearchMultiField(idRef); smsf.searchValue = idRef; smsf.@operator = SearchMultiSelectFieldOperator.anyOf; smsf.operatorSpecified = true; CustomerSearch cs = new CustomerSearch(); CustomerSearchBasic csb = new CustomerSearchBasic(); csb.internalId = smsf; cs.basic = csb; SearchResult results = mySession.search(searchRec); if (results.status.isSuccess) ....etc... omitted for brevity
0