RetailStatementPost.initVoucher Method [AX 2012]
Generates the voucher from the voucher series based on the last voucher.
Syntax
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.
Exceptions
Exception | Condition |
---|---|
Error | The statement voucher number sequence is not specified. |