Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
How to search for specific ID's and NONE?
I'm using the SuiteTalk in C# and I'm doing a SearchMultiSelectCustomField type search.
I need to say none of ID's 1, 2, 3. That I get how to do.
How can I also exclude any that are blank? Is that done by ID or by name? I'm not having luck.
//filter on product line field
SearchMultiSelectCustomField productLineSelect = new SearchMultiSelectCustomField();
productLineSelect.internalId = "custentity_vcs_cust_product_line";
productLineSelect.@operator = SearchMultiSelectFieldOperator.noneOf;
productLineSelect.operatorSpecified = true;
ListOrRecordRef[] productLineRefs = new ListOrRecordRef[20];
productLineRefs[0] = new ListOrRecordRef();
productLineRefs[0].internalId = "10";
productLineRefs[1] = new ListOrRecordRef();
productLineRefs[1].internalId = "11";
productLineRefs[2] = new ListOrRecordRef();
productLineRefs[2].internalId = "14";
productLineRefs[3] = new ListOrRecordRef();
productLineRefs[3].internalId = "15";
productLineRefs[4] = new ListOrRecordRef();
productLineRefs[4].internalId = "16";
productLineRefs[5] = new ListOrRecordRef();