AssetTableMethod.calcAmountForShiftDepreciation_IN Method [AX 2012]
Splits a fiscal period that is included in different fiscal years, and calculates the depreciation amount by calling the calcDepreciationAmountLoc method.
Syntax
protected AssetAmount calcAmountForShiftDepreciation_IN(
AssetBook _assetBook,
AssetAmount _amount,
AssetTransDate _startDate,
AssetTransDate _endDate,
container _percentages)
Run On
Server
Parameters
- _assetBook
Type: AssetBook Table
An assetBook buffer.
- _amount
Type: AssetAmount Extended Data Type
The amount of the asset.
- _startDate
Type: AssetTransDate Extended Data Type
The start date of the depreciation.
- _endDate
Type: AssetTransDate Extended Data Type
The end date of the depreciation period.
- _percentages
Type: container
The percentage of depreciation.
Return Value
Type: AssetAmount Extended Data Type
The amount that has been depreciated.
Remarks
The sum of the amounts is the total depreciation amount.