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.
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();