Discussions
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