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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Not able to call nlapiInsertSelectOption on UI Assistant Select fields
I have a UI Assistant that is adding two select fields. On the client side I have a script that is setting the select options on the second field based on selection in the first. Basic, simple.
I have been getting an error and after 3 hours of bug chasing and snooping around in firebug I found that the error I'm getting is coming from deep within the NetSuite DOM functions.
An unexpected error occurred in a script running on this page.
replaceEquipAsstClient.onFieldChanged (fieldChange)
customscriptreplaceequipmentasstclient
JS_EXCEPTION
TypeError sel.add is not a function
Now before I go through support and spend days on this, does anyone know if what I'm trying to do should NOT be possible? I mean... are UI Assistant fields special? Do some of the client methods NOT work on them?
Steve Klett | Senior Developer
NetValue Technology
0