i know how to pull the price level names but i do ...
# general
l
i know how to pull the price level names but i do not know how to pull the price level values corresponding to each price level name. I am missing a single line of code but I do not know what else to add
b
you appear to be misusing searches. You want to include search columns (the 4th parameter of nlapiSearchRecord)
for example, to include the name column, you your search would look like: var searchResults = nlapiSearchRecord('pricelevel',null,null,[new nlobjSearchColumn('name')]);
and you would use it like:
var name = searchResults[i].getValue('name')
l
Thank you