AssetDepBookTableDepConv_HalfYearNext.calc_SL Method [AX 2012]
Calculates the "straight line" type period depreciation amount for the asset's current transaction.
Syntax
public AssetAmount calc_SL(
AssetAmount _basisForDepreciation,
AssetAmount _prevDepAmountThisYear,
AssetAmount _prevDepAmountExternal,
AssetAmount _prevDepAmountPriorYears,
TransDate _depreciationDate,
AssetDepreciationTime _periods)
Run On
Called
Parameters
- _basisForDepreciation
Type: AssetAmount Extended Data Type
The amount to use as the base amount for the calculation of depreciation.
- _prevDepAmountThisYear
Type: AssetAmount Extended Data Type
The depreciation amount for the current year.
- _prevDepAmountExternal
Type: AssetAmount Extended Data Type
The depreciation amount from other depreciation methods.
- _prevDepAmountPriorYears
Type: AssetAmount Extended Data Type
The depreciation amount for previous years.
- _depreciationDate
Type: TransDate Extended Data Type
The depreciation start date.
- _periods
Type: AssetDepreciationTime Extended Data Type
The period for which to calculate the depreciation amount.
Return Value
Type: AssetAmount Extended Data Type
The depreciation amount.