Netsuite Suitetalk – Searching custom fields in c#
2015, Sep 16
Searching a custom field inside a Netsuite Customer object for a specific string value.
CustomerSearchBasic csb = new CustomerSearchBasic() { customFieldList = new List<SearchCustomField>() { new SearchStringCustomField() { scriptId = "custentity_sfId", searchValue="mySalesforce18CharId", @operator=SearchStringFieldOperator.@is, operatorSpecified=true }}.ToArray() }; SearchResult result = _service.search(csb);