title: SugarCRM - Specify field for get_entry_list
body: <p>I would like to receive the two fields firstname_c and email_c of an Opportunity in SugarCRM. </p>
  
  <p>I tried</p>
  
  <pre><code>$params = array('session' =&gt; $session,
      'module_name' =&gt; 'Opportunities',
      'query' =&gt; "opportunities_cstm.external_opportunity_id_c = '".$customer."'",
      'select_fields' =&gt; array('name'=&gt;'firstname_c', 'email'=&gt;'email_c'),
      'order_by' =&gt; '',
      'deleted' =&gt; 0
  );
  
  $result = $soapclient-&gt;call('get_entry_list', $params);
  </code></pre>
  
  <p>BUT: select_fields seems to be ignored and I receive all fields. The only way to access the variables I need, is to use: </p>
  
  <pre><code>$firstname = $result['entry_list'][0]['name_value_list'][34]['value'];
  $email = $result['entry_list'][0]['name_value_list'][32]['value'];
  </code></pre>
  
  <p>... which sucks, because the numbers (i.e. 34 and 32) are changing all the time.</p>
  
  <p>How to fix that?</p>
  
  <p>Thanks a lot,
  David</p>
  
  <p>PS: I also tried ... </p>
  
  <pre><code>'select_fields' =&gt; array('firstname_c', 'email_c'),
  </code></pre>
  
  <p>... without any success. </p>