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
Return customer object based on Custom field search
Hi,
I am trying to do a customer search based on a custom customer field(custentity13). The custom field is an integer field. I'm working with VB.net, basically I want the customer object if the value in the custom field exists in the customer records. Here's what I'm attempting, but it is returning nothing as the search result, any help is appreciated!:
Function Customer_Exists(ByRef oService As netsuite.webservices.NetSuiteService, ByVal strCustID As String, ByRef oCustomer As netsuite.webservices.Customer) As Boolean
Dim cs As New netsuite.webservices.CustomerSearch, csb As New netsuite.webservices.CustomerSearchBasic, _
oCustID As New netsuite.webservices.SearchLongCustomField, oInactive As New netsuite.webservices.SearchBooleanField, _