Share via


TransactionReversal_AssetGroup_IN.canReverseDB_Acq_AcqAdj_IN Method [AX 2012]

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

Syntax

private container canReverseDB_Acq_AcqAdj_IN(
    AssetGroupDepBookTrans_IN _assetGroupDepBookTransForOrig, 
    AssetGroupDepBookTrans_IN _assetGroupDepBookTransMain, 
    RefRecId _assetRecId, 
    AssetTransDate _assetTransDate, 
    boolean _revoke)

Run On

Called

Parameters

  • _assetGroupDepBookTransForOrig
    Type: AssetGroupDepBookTrans_IN Table
    An AssetGroupDepBookTrans_IN buffer containing the original transaction to be reversed.
  • _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