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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
How can I get actual value for SearchColumnSelectCustomField?
I perform a search like (C#):
var search = new ItemSearchAdvanced { columns = new ItemSearchRow { basic = new ItemSearchRowBasic { internalId = new[] { new SearchColumnSelectField() }, itemId = new[] { new SearchColumnStringField() }, customFieldList = new SearchColumnCustomField[] { <strong>new SearchColumnSelectCustomField { internalId = "custitem_item_category" }</strong> } } } }; var response = _service.search(search);and here is a piece of received XML:
&lt;platformCore:searchRow xsi:type="listAcct:ItemSearchRow" xmlns:listAcct="urn:accounting_2010_2.lists.webservices.netsuite.com"&gt; &lt;listAcct:basic xmlns:platformCommon="urn:common_2010_2.platform.webservices.netsuite.com"&gt; ... &lt;platformCommon:customFieldList&gt; <strong>&lt;platformCore:customField internalId="custitem_item_category" xsi:type="platformCore:SearchColumnSelectCustomField"&gt; &lt;platformCore:searchValue internalId="10" typeId="104"/&gt; &lt;platformCore:customLabel&gt;Category&lt;/platformCore:customLabel&gt; &lt;/platformCore:customField&gt;</strong> &lt;/platformCommon:customFieldList&gt; &lt;/listAcct:basic&gt; &lt;/platformCore:searchRow&gt;
0