LedgerJournalCheckPost.postJournal Method [AX 2012]

Posts the current instance of a journal.

Syntax

protected container postJournal()

Run On

Server

Return Value

Type: container
true if the journal was posted; otherwise, false.

Exceptions

Exception Condition
Error

The journal is not approved or balanced.

-or-

The journal is not approved or balanced.

The account or amount is not set.

Error

The journal is not approved or balanced.

-or-

The account or amount is not set.

-or-

The voucher number is not set for the ledger journal line.

See Also

Reference

LedgerJournalCheckPost Class