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!
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,