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!
Getting name of item option using suitescript
I need to get the actual name of a custom record that is of type List/Record.
I'm running the code below from the sales order screen via a button (this code is run for each item, hence the i which is the line value).
var Airport = nlapiGetLineItemValue('item', 'custcolorigin', i);
alert(Airport);
The value being returned by the alert is the actual internalID of my item option (for example "45"). I'm trying to get the acutal value of the custom record name (ie "JFK Airport").
Any suggestions?
Chris
0