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.
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, _