Share via


TransactionReversal_AssetGroup_IN.canReverse_CapReserve_IN Method [AX 2012]

Checks if a Capital Reserve transaction is able to be reversed.

Syntax

private container canReverse_CapReserve_IN(
    AssetGroupTrans_IN _assetGroupTransForOrig, 
    AssetGroupTrans_IN _assetGroupTransMain, 
    RefRecId _assetRecId, 
    AssetTransDate _assetTransDate)

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.

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.S

See Also

Reference

TransactionReversal_AssetGroup_IN Class