Share via


TransactionReversal_Asset.canReverseDB_CapReserve Method [AX 2012]

Checks whether a capital reserve transaction can be reversed.

Syntax

private container canReverseDB_CapReserve(
    AssetDepBookTrans _assetDepBookTransForOrig, 
    AssetDepBookTrans _assetDepBookTransMain, 
    RefRecId _assetRecId, 
    AssetTransDate _assetTransDate)

Run On

Called

Parameters

  • _assetDepBookTransForOrig
    Type: AssetDepBookTrans Table
    An AssetDepBookTransTable buffer that contains the original transaction to reverse.
  • _assetDepBookTransMain
    Type: AssetDepBookTrans Table
    An AssetDepBookTransTable buffer that contains the selected transaction to reverse.

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