Monthly Archives: December 2008

How to create and post a financial voucher in Dynamics Ax

  Good morning   The following code gives a rough example of how to create a financial voucher in code:   public void sampleLedgerTrans(){    Voucher voucher;    LedgerVoucher ledgerVoucher;    LedgerVoucherObject ledgerVoucherObject;    LedgerVoucherTransObject ledgerVoucherTransObject;    LedgerJournalTransTxt transTxt;       Dimension dimension;    AmountCur amount;    … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on How to create and post a financial voucher in Dynamics Ax

How to temporarily suppress infolog messages in Dynamics Ax

  Good afternoon,   The following piece of code is useful when you want a section of code not to report to the infolog, but still want previous messages to be shown at the end of execution.   public static … Continue reading

Posted in Dynamics Ax 4.0x | Comments Off on How to temporarily suppress infolog messages in Dynamics Ax