Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Suitescript 2.0 - Filter List Of Customers in Suitelet 'Select' Field
Hi,
I have a Suitescript 2.0 Suitelet that I'm working on and am attempting to add a simple select field with the source as the 'customer' List/Record. It works fine until I try and filter the list of customers and populate it via .addSelectOption.
Seems like it's not happy for me to call customerField.addSelectOption even though I know the suitescript 1.0 equivalent used to work fine..??
Any help on this would be greatly appreciated..
Here's the error:
{ "type": "error.SuiteScriptError", "name": "SSS_INVALID_UI_OBJECT_TYPE", "message": "That operation is not supported for this type of UI object: select. It is only supported for type: select." } 0