TransactionReversalTrans::findAssetDepBookTransOrig Method
Finds and returns the original asset depreciation book transaction that is associated with the specified asset depreciation book transaction if it has been reversed.
Syntax
client server public static container findAssetDepBookTransOrig(AssetDepBookTrans assetDepBookTransLocal)
Run On
Called
Parameters
- assetDepBookTransLocal
Type: AssetDepBookTrans Table
The current asset depreciation book transaction.
Return Value
Type: container
The original related asset depreciation book transaction; otherwise the passed asset depreciation book transaction.
Remarks
Use the specified transaction to first find the related transaction reversal record. If a record is found, use the value in the trace number field to find the transaction with the same trace number value 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 depreciation book transaction record.