title: Using formulas within nlapiSearchRecord columns
body: <p>When using adhoc nlapiSearchRecord within scripts, such as:</p>
  
  <pre><code>        var filters = new Array();
          var columns = new Array();
                  filters[0] = new nlobjSearchFilter('isinactive', null, 'is', 'F' );
                  filters[1] = new nlobjSearchFilter('vendorcost', null, 'greaterthan', 0);
                  filters[2] = new nlobjSearchFilter('internalid', 'vendor', 'anyof', vendorid );
                  columns[0] = new nlobjSearchColumn('itemid');
                  columns[1] = new nlobjSearchColumn('entityid', 'vendor');
                  columns[2] = new nlobjSearchColumn('vendorcode');
                  columns[3] = new nlobjSearchColumn('formulanumeric'); 
                      columns[3].setFormula('{vendorcost}');
                  columns[4] = new nlobjSearchColumn('vendorpricecurrency');
                  columns[5] = new nlobjSearchColumn('isinactive');
                  columns[6] = new nlobjSearchColumn('vendor');
                  columns[7] = new nlobjSearchColumn('averagecost');
                  columns[8] = new nlobjSearchColumn('lastpurchaseprice');
                  columns[9] = new nlobjSearchColumn('custitem_costrepl');
                  var searchresults = nlapiSearchRecord('item', null, filters, columns );
  </code></pre>
  
  <p>How do I retrieve the value of the formula in column 3?</p>
  
  <p>I've tried <code>searchresults.getValue(column[3]))</code> and <code>searchresults.getValue(3))</code> but both fail.</p>
  
  <p>The reason for this, is some of our <code>vendorcost</code> values are 4 or 5 decimal places, but the most decimal precision the plain search returns is 3.</p>