Share via


LedgerJournalEngine::accountTypeValid Method [AX 2012]

Validates the account type and offset account type based on the journal type.

Syntax

client server public static boolean accountTypeValid(LedgerJournalTrans _ledgerJournalTrans, LedgerJournalTable _ledgerJournalTable)

Run On

Called

Parameters

Return Value

Type: boolean
true if the account type is valid; otherwise, false.

Remarks

This method is called from the validateField method on the LedgerJournalTrans table. It determines whether the account type is valid for the passed in journal type, offset account type and account type.

See Also

Reference

LedgerJournalEngine Class