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 all the asset transactions to guarantee that the transaction can be reversed or revoked.
Syntax
public boolean validateReversal(
Voucher _voucher,
TransDate _transDate,
AssetJournalId _journalNumber,
LineNum _journalLineNum,
boolean _revoke)
Run On
Called
Parameters
- _voucher
Type: Voucher Extended Data Type
The voucher to validate all transactions.
- _transDate
Type: TransDate Extended Data Type
The transaction date to validate all transactions.
- _journalNumber
Type: AssetJournalId Extended Data Type
The journal number to validate all depreciation book transactions.
- _journalLineNum
Type: LineNum Extended Data Type
The journal line number to validate all depreciation book transactions.
- _revoke
Type: boolean
A Boolean value that specifies whether to validate a reversal or a revoke.
Return Value
Type: boolean
true if all called validation checks are passed; otherwise, false.
Remarks
This routine calls methods to validate posting type, originate the journal location and status, and verify that the transaction is the last.