title: Access to fieldLookup results (suitescript 2.0)
body: <p>I'm having trouble trying to access to the results of a LookupField search.</p>
  
  <pre><code> var fieldLookUp = search.lookupFields({
                      type: search.Type.SALES_ORDER,
                      id: soid,
                      columns: 'entity'
                  });
  
  
  
  log.debug('search result', JSON.stringify(fieldLookUp.entity));
  </code></pre>
  
  <p>Here's the log result:</p>
  
  <pre><code>[{"value":"1453","text":"101223 Smith Ltd"}]
  </code></pre>
  
  <p>You can see there's a "value" in the object content, so when I try to access to that value, it show me "undefined" </p>
  
  <pre><code> var customer_id = fieldLookUp.entity.value;
  </code></pre>
  
  <p>How can I access to the "value" so I can get the "1453"</p>
  
  <p>I also print the log content of the "fieldLookUp" variable.</p>
  
  <pre><code>{"entity":[{"value":"1453","text":"101223 Smith Ltd"}]} 
  </code></pre>