Share via


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

  • _ledgerVoucherTag
    Type: int
    The current value of voucher.

Exceptions

Exception Condition
Error

The statement voucher number sequence is not specified.

See Also

Reference

RetailStatementPost Class