Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Search Items per vendor
I am working on the code that needs to search the items of a certain vendor. I think I have covered all the aspects I need to set the search criteria in my code (no compiling errors). But it did not return any item. Anybody dealt with SearchMultiSelectField object?
My code:
Dim item_search As New ItemSearch
Dim item_search_basic As New ItemSearchBasic
Dim type() As String : ReDim type(10)
type(0) = "_description"
type(1) = "_discount"
type(2) = "_inventoryItem"
type(3) = "_itemGroup"
type(4) = "_markup"
type(5) = "_nonInventoryItem"
type(6) = "_otherCharge"
type(7) = "_payment"
type(8) = "_service"
type(9) = "_subtotal"
Dim searchType As New SearchEnumMultiSelectField
With searchType
.operator = SearchMultiSelectFieldOperator.anyOf