LedgerVoucherTransObject.checkData Method [AX 2012]

Validates the ledger posting transaction.

Syntax

public boolean checkData(LedgerVoucher _journal, LedgerVoucherObject _reference)

Run On

Called

Parameters

Return Value

Type: boolean
true if the ledger posting transaction is valid; otherwise, false.

Remarks

If the transaction is an intercompany transaction, this method changes the current company account before the check method is called.When validating inter-company transactions, the voucher series code of the LedgerVoucher object is temporarily changed to the voucher series code of the intercompany company account.

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

See Also

LedgerVoucherTransObject Class

LedgerVoucherTransObject.check Method

LedgerVoucherTransObject.check Method

LedgerVoucher Class