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
you appear to be misusing searches. You want to include search columns (the 4th parameter of nlapiSearchRecord)
battk
03/18/2019, 6:54 PM
for example, to include the name column, you your search would look like:
var searchResults = nlapiSearchRecord('pricelevel',null,null,[new nlobjSearchColumn('name')]);