Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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