Share via


TransactionReversal_Asset.checkStatusApplicable Method [AX 2012]

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

  • _status
    Type: AssetStatus Enumeration
    The asset status of the value model or the depreciation book for the transaction that will be validated.
  • _revoke
    Type: boolean
    A Boolean value that specified whether the transactions are will be revoked or reversed.

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.

See Also

Reference

TransactionReversal_Asset Class