Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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, _