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.
Invoice Search by InternalId
After uploading an invoice, I would like to then retrieve that invoice by the InternalId for the invoice. I am trying the following but it returns 0 records.
Dim tSearch As TransactionSearch = New TransactionSearch
Dim tSearchBasic As TransactionSearchBasic = New TransactionSearchBasic
Dim tInvoice As RecordRef() = New RecordRef(0) {}
tInvoice(0) = New RecordRef
tInvoice(0).internalId = 111081
Dim tInvoiceSearch As New SearchMultiSelectField
tInvoiceSearch.operator = SearchMultiSelectFieldOperator.anyOf
tInvoiceSearch.searchValue = tInvoice
tSearchBasic.internalId = tInvoiceSearch
tSearch.basic = tSearchBasic
Dim tResponse As SearchResult = service.search(tSearch)
Any suggestions?