AssetDepTransMap_JP::calcAccumulatedDepAmountMstInCurYear Method
Calculates the accumulated depreciation amount in the accounting currency, from the first day of the current year to a specified date.
Syntax
client server public static AssetAmount calcAccumulatedDepAmountMstInCurYear(
AssetDepBookMap_JP _assetDepBookMap,
AssetTableInterval _assetTableInterval,
AssetTransDate _toDate,
[RefRecId _assetDocumentEntryRecId])
Run On
Called
Parameters
- _assetDepBookMap
Type: AssetDepBookMap_JP Map
A buffer of a table that is mapped to the AssetDepBookMap_JP map.
- _assetTableInterval
Type: AssetTableInterval Class
An instance of an AssetTableInterval subclass.
- _toDate
Type: AssetTransDate Extended Data Type
The to date.
- _assetDocumentEntryRecId
Type: RefRecId Extended Data Type
Return Value
Type: AssetAmount Extended Data Type
The accumulated depreciation amount in the accounting currency.
Remarks
The fixed asset recapture function creates two depreciation adjustment transactions when the additional acquisition is performed. One is the adjustment for the current year, and the other is for previous years. The transaction date of each of these two adjustment transactions is the same as the acquisition date. However, the adjustment transaction for previous years should be skipped for the calculation of this method, because it is not for current year.