AssetDepBookTableDepConv_MidMonth_15th::calcPeriodMidMonth_15th Method [AX 2012]
Calculates the depreciation amount based on Mid-Month convention rule for last period.
Syntax
client server public static AssetAmount calcPeriodMidMonth_15th(
AssetDepreciationBookId _assetDepreciationBookId,
TransDate _transDate,
AssetDepreciationTime _numberOfMonths,
AssetAmount _basisForDepreciationRB,
AssetUsedFromDate _usedFromDate,
boolean _isDisposalSameYear)
Run On
Called
Parameters
- _assetDepreciationBookId
Type: AssetDepreciationBookId Extended Data Type
A BookId type for which depreciation must be calculated.
- _transDate
Type: TransDate Extended Data Type
The depreciation transaction date.
- _numberOfMonths
Type: AssetDepreciationTime Extended Data Type
The number of periods for which depreciation must be calculated.
- _basisForDepreciationRB
Type: AssetAmount Extended Data Type
The base amount for deprecation calculation.
- _usedFromDate
Type: AssetUsedFromDate Extended Data Type
The date from which asset is being used.
- _isDisposalSameYear
Type: boolean
Indicates whether asset acquisition and disposal are in same year.
Return Value
Type: AssetAmount Extended Data Type
The depreciation amount, based on Mid-Month convention rule.