Share via


LedgerJournalTableApprovalData.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 the voucher that is specified by the _fromVoucher parameter.

See Also

Reference

LedgerJournalTableApprovalData Class