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 a transaction for reversal or revoke based on type and status.
Syntax
public container checkStatusApplicable(
AssetTransType _transType,
AssetStatus _status,
AssetBookId _bookId,
boolean _revoke,
AssetReserveTransferDone _reserveTransferDone)
Run On
Called
Parameters
- _transType
Type: AssetTransType Enumeration
The asset transaction type of the transaction that will be validated.
- _status
Type: AssetStatus Enumeration
The asset status of the value model or the depreciation book for the transaction that will be validated.
- _bookId
Type: AssetBookId Extended Data Type
The value model ID or depreciation book ID for the transaction that will be validated.
- _revoke
Type: boolean
A Boolean value that specified whether the transactions are will be revoked or reversed.
- _reserveTransferDone
Type: AssetReserveTransferDone Extended Data Type
A value that indicates where a transfer from reserve transaction has been posted against this assets reserve amount.
Return Value
Type: container
A container that has a Boolean value and a string.
The Boolean value is set to true if all asset statuses found are acceptable to reverse or revoke the transactions; otherwise, false.
The string contains the error message that states why the transaction could not be reversed or revoked.