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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
How to get the Text Value of a Select list
I realize that you can use nlapiGetFieldText(fldnam) on the client side, but I need to find out how to do this on the server side. I have a script that is executed when the user saves the Case record, which takes values from the form that was saved and sends them via a SOAP call to another system.
var record = nlapiGetNewRecord();
var origin = record.getFieldValue('origin');
"origin" ends up coming back as a numeric value. How do I get the actual text value that's associated with the select list?
This list is found under SETUP>SUPPORT>CASE ORIGIN TYPES
0