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.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!
AI capabilities embedded across the suite help boost productivity and give leaders an edge by helping them analyze data faster and generate unique insights that drive better decision-making. Watch these on-demand webinars to see how our AI capabilities can help you.
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
Streamline Invoice Processing with AI-Powered Automation
Use AI-Driven Insights for Faster, Better Planning and Forecasting
SuiteScript 2.1 Get Text from Dropdown list selection
This seems like it should be a very basic operation, but I've been struggling for a few hours now and I can't find any examples anywhere.
The API says to use the N/record or N/currentRecord/getText() function and a few other websites claim that works too, but this function only returns an error for me.
The situation is I am adding a Customer record to NetSuite and then my SuiteScript is sending information from that record via a web service request to another system. I need to send the text values, not the internal ids.
I can use currentRecord.getValue({fieldId:'salesrep'}); and it will return the internal id of the list value, but I cannot seem to find out how to get the actual text value associated with that selection.
Tagged:
0