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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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