title: Use new inserted id for another field in sugarcrm
body: <p>I want to use new inserted id for another field after insert.</p>
  
  <p>I want to use it for my document ID, example when new record inserted, the auto increase id will have a prefix and follow with the auto increase id, it will stored in the account custom table (account_cstm) with a new field call "document_id_c".</p>
  
  <p>Example the auto increase id is 18, the data will be stored in document_id_c is "DOC18".</p>
  
  <p>I tried smtg in logic hook:</p>
  
  <pre><code>$bean-&gt;account_number_c = 'DOC'.$bean-&gt;account_number;
  $bean-&gt;save();
  </code></pre>
  
  <p>But it seems like not working.</p>
  
  <p>Another problem is, i need to show immediately after record has been saved.</p>
  
  <p>Need some advice.
  Thanks!!</p>