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 whether an acquisition or acquisition adjustment can be reversed.
Syntax
private container canReverseDB_Acq_AcqAdj(
AssetDepBookTrans _assetDepBookTransForOrig,
AssetDepBookTrans _assetDepBookTransMain,
RefRecId _assetRecId,
AssetTransDate _assetTransDate,
boolean _revoke)
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.
- _assetRecId
Type: RefRecId Extended Data Type
The RefRecId value of the original transaction.
- _assetTransDate
Type: AssetTransDate Extended Data Type
The AssetTransDate value of the original transaction.
- _revoke
Type: boolean
A Boolean value that specifies whether to validate a reversal or a revoke.
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.