Compartir a través de


TransactionReversalTrans::findLastAssetTrans 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 AssetTrans findLastAssetTrans(AssetTrans assetTransLocal)

Run On

Called

Parameters

  • assetTransLocal
    Type: AssetTrans Table
    The current asset value model transaction.

Return Value

Type: AssetTrans 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.

See Also

Reference

TransactionReversalTrans Table