Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
Join our Ask An Expert Live session featuring Angela Bayliss , Senior Principal Consultant at Jade Global, on June 26, 2025, 2–3 PM ET. With 21 years of experience, Angela will answer all your questions. Learn from one of the best! RSVP now.
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?