I'm looking to make a modification in the logic where an invoice is made from a Sales Order.
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.
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.
Thanks.