Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Discover NetSuite's potential! Join our webinars, learn from experts, and optimize your operations. Whether you're experienced or new, secure your spot today and stay ahead in NetSuite!
Share with colleagues and friends who could benefit from our webinars too!

Is it possible to filter the inventory item list in dropdown Select type in Suitelet?

edited Mar 8, 2023 2:11PM in Ask A Guru 3 comments

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,

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders