Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _assetRecId
Type: RefRecId Extended Data Type
Contains the RefRecId value of the original transaction.
- _assetTransDate
Type: AssetTransDate Extended Data Type
Contains the AssetTransDate value of the original transaction.
- _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.