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.
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
- _journal
Type: LedgerVoucher Class
The ledger posting journal of this transaction.
- _reference
Type: LedgerVoucherObject Class
The ledger posting reference of this transaction.
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.