Wednesday, April 1, 2015

Posting Journal using X++ in AX 2012

Step 1:- Open Account Receivable | Journals | Payment | Payment journal, and find previously created
journal or manually create a new one. Note the journal's number.

Step 2 :- In the AOT, create a new job named JournalPost with the following code :

static void JournalPost(Args _args)
LedgerJournalCheckPost jourPost;
LedgerJournalTable jourTable;
jourTable = LedgerJournalTable::find('JN0564');
jourPost = LedgerJournalCheckPost::newLedgerJournalTable(

No comments:

Post a Comment

How to enable the dimension fields based on the Item selected on the form.

[Form] public class KMTShipFromWarehouses extends FormRun {     InventDimCtrl_Frm_EditDimensions        inventDimFormSetup;     /// &l...