Hi All,
Can anyone tell me, how entries gets create in custinvoicejour and custinvoicetrans table, when we create a invoice for salesorder.
the Salesformletter_invoice class is used for creating the invoice. but I didn;t see from where the entries goes in these two tables.
Please provide me an update as soon as possible.
Thanks & Regards
Shweta Bansal
Arun_S
2
‘writeJournalLine’ and ‘writeJournal’.
and these methods are called from ‘updateNow’.
-Arun
from where these two function gets called???
can you tell me flow of classses.
Arun_S
4
Which version of AX you are using?
In Ax 2009, those methods are called from ‘updateNow’ method of SalesFormLetter_Invoice class.
In Ax 2012, those tables are populated in ‘createJournalHeader’ and ‘CreateJournalLine’ methods of SalesInvoiceJournalCreate class.
to know the class hierarchy just put a break point in SalesFormLetter main method and debug.
-Arun.