Journal Posting in AX 2012 By Standard code
All journals creation and posting technical structure is same in AX , below is the production journal posting flow:-
Form: - ProdJournalTable:-
This is the form to create and post journals for production orders and journals can be post for following below journal types:-
· Picking Slip
· Route Card
· Job Card
· Report as finished
Table: - ProdJournalTable:-
ProdJournalTable is the actual master table to hold all type of journals (Picking slip,route card,job card etc.) related to production.
Class :- ProdJournalFormTable (Extends from JournalFormTable Class):-
That class is responsible to handle form’s data source and event.
Post Journal from ProdJournalTable form:-
Class ProdJournalCheckPost :- This class is having a postJournal method the class is inheriting from another class JournalCheckPostLedger.
Class JournalCheckPostLedger :- Same postJournal method is implemented in this class and this class also inheriting from another class : JournalCheckPost.
Class JournalCheckPost :- this is the main parent class and inheriting form JournalRunBaseBatch classs.