Share via


LedgerJournalTableData.moveVoucherToJournal Method [AX 2012]

Moves a voucher from the current journal to a new journal.

Syntax

public void moveVoucherToJournal(
    LedgerJournalId _newLedgerJournalId, 
    Voucher _fromVoucher, 
   [Voucher _toVoucher])

Run On

Called

Parameters

  • _toVoucher
    Type: Voucher Extended Data Type
    The voucher at the end of the range of vouchers to move; optional. If not provided, uses _fromVoucher.

See Also

Reference

LedgerJournalTableData Class