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.
Is it possible to filter the inventory item list in dropdown Select type in Suitelet?
Hello community,
I have a Suitelet script that displays a form that was created using N/ui/serverWidget. As part of this form I have a dropdown where you pick an inventory item, this field is generated this way:
form.addField({
id: 'custpage_p_' + id,
label: 'Item ' + id,
type: ui.FieldType.SELECT,
container: 'merchandisegroup',
source: 'item',
});
My question is, is there a way to filter the inventory item list in this dropdown so it only shows a subset of items?
I'm thinking maybe sourcing the dropdown with a saved search which I can filter however I want but I'm not certain what would be the best way to accomplish this,