Share via


LedgerVoucherTransObject.check Method [AX 2012]

Determine whether the date, account, and dimension values for a single ledger line are valid to post it.

Syntax

private boolean check(LedgerVoucher _journal, LedgerVoucherObject _reference)

Run On

Called

Parameters

Return Value

Type: boolean
true if the ledger line is valid to post; otherwise, false.

Remarks

The _sysModule parameter is necessary because journals can be created in multiple modules.

Use the isModified method to determine if the current object was modified by this method.

See Also

Reference

LedgerVoucherTransObject Class