Share via


TransactionReversal_AssetGroup_IN.canReverse_Acq_AcqAdj_IN Method [AX 2012]

Checks if an Acquisition or Acquisition Adjustment transaction is able to be reversed.

Syntax

private container canReverse_Acq_AcqAdj_IN(
    AssetGroupTrans_IN _assetGroupTransForOrig, 
    AssetGroupTrans_IN _assetGroupTransMain, 
    RefRecId _assetRecId, 
    AssetTransDate _assetTransDate, 
    boolean _revoke)

Run On

Called

Parameters

  • _assetGroupTransForOrig
    Type: AssetGroupTrans_IN Table
    An AssetGroupTrans_IN buffer containing the original transaction to be reversed.
  • _assetGroupTransMain
    Type: AssetGroupTrans_IN Table
    An AssetGroupTrans_IN buffer containing the selected transaction to reverse.
  • _revoke
    Type: boolean
    The attribute that determines to whether to validate a reversal or a revoke.

Return Value

Type: container
A container of an ErrorTolerance value (Error, Warning, or Accept) and one string: Accept if the transaction is able to be reversed or revoked, Warning if the transaction is able to be reverserd or revoked pending user approval, or Error if the transaction cannot be reversed.
A string containing the error or warning message to display to the user.

See Also

Reference

TransactionReversal_AssetGroup_IN Class