RetailStatementPost.initVoucher Method [AX 2012]

Generates the voucher from the voucher series based on the last voucher.

public void initVoucher([TransDate _transDate, int _ledgerVoucherTag])

Run On

Server

Parameters

_transDate
Type: TransDate Extended Data Type
The posting date of the statement.
_ledgerVoucherTag
Type: int
The current value of voucher.

ExceptionCondition
Error

The statement voucher number sequence is not specified.

Show: