title: Copying the value from a custom field to TaxRegistrationID field in RowPersisting event
body: <p>I'm trying to copy the value from a custom field called &quot;customerExt.UsrRfc&quot; to TaxRegistrationID field but it doesn't work in Customers screen, I'm using Customer_RowPersisting event handler.</p>
  <p>This is the customerExt.UsrRfc field:
  <a href="https://i.stack.imgur.com/7Qi2b.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7Qi2b.png" alt="enter image description here" /></a></p>
  <p>This is the TaxRegistrationID field:
  <a href="https://i.stack.imgur.com/6yLGY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6yLGY.png" alt="enter image description here" /></a></p>
  <p>This is the RowPersisting event:</p>
  <pre><code>protected void Customer_RowPersisting(PXCache cache, PXRowPersistingEventArgs e)
  {
    Customer row = (Customer)e.Row;
  
    if (row == null)
    {
        return;
    }
  
    var customerExt = row.GetExtension&lt;BAccountExt&gt;();
  
    row.TaxRegistrationID = customerExt.UsrRfc;
  }
  </code></pre>
  <p>I tried to copy the value to another field like &quot;Account Ref #&quot; and it works fine.</p>
  <p>Can you help me with this?</p>