Share via


TransactionReversal_Asset.canReverse_Acq_AcqAdj Method [AX 2012]

Checks whether an acquisition or acquisition adjustment transaction can be reversed.

Syntax

private container canReverse_Acq_AcqAdj(
    AssetTrans _assetTransForOrig, 
    AssetTrans _assetTransMain, 
    RefRecId _assetRecId, 
    AssetTransDate _assetTransDate, 
    boolean _revoke)

Run On

Called

Parameters

  • _assetTransForOrig
    Type: AssetTrans Table
    An AssetTransTable buffer that contains the original transaction to reverse.
  • _assetTransMain
    Type: AssetTrans Table
    An AssetTransTable buffer that contains the selected transaction to reverse.
  • _revoke
    Type: boolean
    A Boolean value that specifies whether to validate a reversal or a revoke.

Return Value

Type: container
A container of an ErrorTolerance value; either Error, Warning, or Accept; and a string. The container contains Accept if the transaction can be reversed or revoked, Warning if the transaction can be reversed or revoked pending user approval, or Error if the transaction cannot be reversed. The string contains the error or warning message to display to the user.

See Also

Reference

TransactionReversal_Asset Class