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 match MultiSelectCustomFieldRef to CustomList?
We have a custom select field for the size of an item.
I can't figure out how to match the MultiSelectCustomFieldRef
I get from an item back to the CustomList so I can get
the name of the color selected for the item.
Before processing the items, I am getting the custom
lists from Netsuite using this code:
CustomizationType cType = new CustomizationType();
cType.setGetCustomizationType(GetCustomizationType.customList);
GetCustomizationResult gcr = NetsuiteUtil.getInstance().getCustomization(cType);
for (int i=0; i<gcr.getRecordList().getRecord().length; i++) {
CustomList cl = (CustomList)gcr.getRecordList().getRecord()[i];
The cl.getInternalId() gives me integer values like 1,2,3, etc.
If I use cl.getName(), I get the display name of the list, such