Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _ledgerJournalTrans
Type: LedgerJournalTrans Table
The LedgerJournalTrans table record being referenced.
- _ledgerJournalTable
Type: LedgerJournalTable Table
The LedgerJournalTable table record being referenced.
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.