title: Microsoft Dynamics AX - Sales Order to Invoice class location
body: <p>I'm looking to make a modification in the logic where an invoice is made from a Sales Order. </p>
  
  <p>In other words, as soon as the Sales Order status changes to "Invoiced", I want to be able to add some additional code there that updates something else.</p>
  
  <p>I'm having a lot of trouble finding the class where this is performed. Can somebody point me in the right direction? It would be greatly appreciated.</p>
  
  <p>Thanks.</p>