title: netsuite saved search suitelet trying to get value but cant
body: <p>Im currently trying to resolve an issue where I cant get a value from a suitelet from a savedsearch within Netsuite.</p>
  
  <pre><code>"unitprice": 12.6,
      "salesdescription": "cheap item",
      "custrecord_pm_record_name": {
      "internalid": 2,
      "name": "test item"
  }
  </code></pre>
  
  <p>Basically I'm just trying to get the values internalid and name that is within the array above. </p>
  
  <p>If anyone knows Netsuite and how to extract this value that would be great, or if there is a typical way to grab this with vanilla JS that would be awesome also</p>
  
  <pre><code>var _searchId = 'customsearch_pm_item_record_loader';
          //itemFilters.push(new nlobjSearchFilter('displayName',null, 'contains', _searchTerm )); //
          var rs = nlapiSearchRecord('item', _searchId, itemFilters,columns);
          for ( var i = 0; rs != null &amp;&amp; i &lt; rs.length; i++)
          {   
              var rowObj = {};
              rowObj.id = rs[i].getValue('internalid');
              rowObj.custitem_dwr_co_dis  = rs[i].getValue('custitem_dwr_co_dis');
              rowObj.salesdescription     = rs[i].getValue('salesdescription');
              rowObj.displayName          = rs[i].getValue('displayName');
              rowObj.itemid               = rs[i].getValue('itemid');
              rowObj.unitPrice            = rs[i].getValue('unitprice', 'pricing');   // unit price
              rowObj.basePrice            = rs[i].getValue('baseprice');
              rowObj.productImage         = rs[i].getText('custitem50');
              retObj.push(rowObj);
          }
          var _jsonString = JSON.stringify(rs);
  </code></pre>