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.
Get values from multi select field using search.lookupFields
How do you retrieve values from a multi select list using Suitescript 2.0? I am trying to look up the subsidiaries of an item record and the look up result length is only one, when there are multiple subsidiaries associated with it.
item_subsidiary = search.lookupFields({
type: 'item',
id: item_InternalId,
columns: ['subsidiary']
});
log.debug('Debug', 'item_subsidiary.length : '+item_subsidiary.subsidiary.length);
item_subsidiary.subsidiary.length returns '1', even when I have two subsidiaries on the item.
Also, how do i get both values?