title: NetSuite Suitescript Search Access the Value
body: <p>I cannot for the life of me get the returned value from a search in NetSuite. When I use the debugger I can see the value, but I cannot access it.</p>
  
  <pre><code>var columns = new nlobjSearchColumn('custentity_employeenumber', null, 'max');
  var results = new nlapiSearchRecord('employee', null, filters, columns);
  var result = results[0].getValue('custentity_employeenumber');
  </code></pre>
  
  <p>Every time the debugger shows the result variable as null...I don't get it. I can see the value in the debugger...</p>
  
  <p><img src="https://i.stack.imgur.com/r52SF.png" alt="enter image description here"></p>
  
  <p>I really just need the 2014103...or am I building the search wrong?</p>