TransactionReversalTrans::findAssetTransOrig Method
Finds and returns the original asset value model transaction that is associated with the specified asset value model transaction if it has been reversed.
Syntax
client server public static container findAssetTransOrig(AssetTrans assetTransLocal)
Run On
Called
Parameters
- assetTransLocal
Type: AssetTrans Table
The current asset value model transaction.
Return Value
Type: container
The original related asset value model transaction; otherwise the specified asset value model transaction.
Remarks
Use the specified transaction to first find the related transaction reversal record. If one is found, use the value in the trace number field to find the transaction with the same trace number that is marked as the original transaction. Finally, use the referenced record ID from the transaction reversal record to look up the actual related original asset transaction record.