Where Sales Invoice Posting Status is set in ax 2012

Dear All,

Does any one know where does the Sales order Posting status is changed to Invoiced, i digged into Salesformletter and Salesformletter_invoice but didn’t find, Once run() is called i tried to trace the path but with No luck.

My requirement is I need to Write code once all the validations has been successfully completed and before the insertion into custinvoicejour and trans.

Kindly let me know if anyone has digged into it.


Ansar Basha.S

The journal is created in SalesInvoiceJournalCreateBase class (createJournalHeader() / createJournalLine()). Use cross-references and/or debugger to analyze related calls.