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