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.
Updatinf custom field for the inventory item
Hi,
I need to update the "Limited Inventory" for some items to true or false.
I need to do following:-
1) Get the item, get the customField list,get the custom fields(CustomfieldArray), check for the fileld to be of BooleanCustomFieldref type , if it is then check if the BooleanCustomFieldref.getInternalId is "custitemcustom_limited_inv".If it is true then get the value, and based on that set it to true or false.
I am not too sure on how to set the values back.
Do I need to create a new customField array,custom fieldList and BooleanCustFieldRef and set them to the InventoryItem.Or I can simply set the value of the obtained BooleanCustFieldRef to true and false and set it back to the obtained Array, and CustomField list.