title: How to update temp table data during run time AX 2012
body: <p>I'm new to X++ development. I'm trying to add a field in Vendor aging report. It was done as excepted.</p>
  
  <p>my problem is updating the field value during run time.</p>
  
  <p><strong>Scenario</strong>,
  We have a Invoice field contain "AA_BBBBBB". What I need to do is I need to split the value as AA, BBBBBB and update BBBBBB to invoice field and AA to new field (Invoice type).</p>
  
  <p><strong>Issue</strong>,
  Once i got the values to temptable VendAgingReportTmp in the method VendAgingReportDP\insertVendAgingReportTmp, I'm tried to update the above scenario but <code>code is not selecting the records from VendAgingReportTmp</code>. Can someone help me to get this thing done.</p>