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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
SalesOrder itemList WSDL v2.5 vs v2.6
NetSuite Case: 630935
Below is a snippet of vb.net code which works using WSDL v2.5 but does NOT work with WSDL v2.6.
Dim tranSearch As TransactionSearch = New TransactionSearch() tranSearch.basic = New TransactionSearchBasic() Dim TranId As SearchStringField = New SearchStringField() TranId.operator = SearchStringFieldOperator.is TranId.operatorSpecified = True TranId.searchValue = "18086" 'Sales Order Number tranSearch.basic.tranId = TranId Dim tranSearchResult As SearchResult Dim prefs As New SearchPreferences() _nsService.searchPreferences = prefs _nsService.searchPreferences.bodyFieldsOnly = False _nsService.searchPreferences.pageSize = 1000 _nsService.searchPreferences.pageSizeSpecified = True Try tranSearchResult = _nsService.search(tranSearch) ' Call the search webservice Catch ex As Exception MsgBox(ex.Message & ex.StackTrace) Finally End Try If tranSearchResult Is Nothing _ Or _nsService.extResponseOK(tranSearchResult) = False _ Or tranSearchResult.recordList.Length <> 1 _ Then 'Error code here Else Dim tempTran As SalesOrder = DirectCast(tranSearchResult.recordList(0),
0