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 ledger posting transaction.
Syntax
public boolean checkData(LedgerVoucher _journal, LedgerVoucherObject _reference)
Run On
Called
Parameters
- _journal
Type: LedgerVoucher Class
The ledger posting journal of the transaction.
- _reference
Type: LedgerVoucherObject Class
The ledger posting reference of the transaction.
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