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.
Updates the lastdepreciationdate, LifeTimeRest, LastDepreciationDateExtraOrd, status, ReserveTransferDone, RevaluationDone, and RevaluedTransID value model attributes for the transaction to reverse.
Syntax
public void updateAssetBookOrigReversal(AssetTrans _assetTrans, AssetTrans _assetTransOrig)
Run On
Called
Parameters
- _assetTrans
Type: AssetTrans Table
The value model transaction to create and insert.
- _assetTransOrig
Type: AssetTrans Table
The original value model transaction to reverse.
Remarks
The method first finds the asset book to be updated based on the past transaction.
This method updates the LastDepreciationDate and LifeTimeRest attributes for depreciation transactions.
This method updates the LastDepreciationDateExtraOrd attribute for extra ordinary depreciation transactions.
This method updates the status attribute for acquisition, disposal-sale, and disposal-scrap transactions.
This method updates the ReserveTransferDone attribute for the CapitalReserveTransfer transactions.
This method updates the RevaluationDone flag for the Revaluation transactions.