Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Web Services: How Search by Customer Company Name?
I am using the v2.5.0 web services and I am having trouble searching by a customer's company name. I am able to search by email (see the following) but I don't see a companyName field for search (only creating).
var custSearch = new CustomerSearch();
custSearch.basic = new CustomerSearchBasic();
custSearch.basic.email = new SearchStringField {
searchValue = "test@test.com",
@operator = SearchStringFieldOperator.contains,
operatorSpecified = true
};
var resultSearch = this.Service.search(custSearch);
0