Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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,