AssetDepBookTableDepConv_MidQuarter::calcPeriodMidMonth_Qtr Method [AX 2012]
Calculates the depreciation amount that is based on the MidQuarter convention rule for last period.
Syntax
client server public static AssetAmount calcPeriodMidMonth_Qtr(
AssetDepreciationBookId _assetDepreciationBookId,
TransDate _transDate,
AssetDepreciationTime _numberOfMonths,
AssetAmount _basisForDepreciationRB,
AssetUsedFromDate _usedFromDate,
boolean _isDisposalSameYear,
AssetTableInterval _assetTableInterval)
Run On
Called
Parameters
- _assetDepreciationBookId
Type: AssetDepreciationBookId Extended Data Type
The book ID for which depreciation must be calculated.
- _transDate
Type: TransDate Extended Data Type
A 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 the depreciation calculation.
- _usedFromDate
Type: AssetUsedFromDate Extended Data Type
The date from which the asset is being used.
- _isDisposalSameYear
Type: boolean
A Boolean value that indicates whether the asset acquisition and disposal are in same year.
- _assetTableInterval
Type: AssetTableInterval Class
An AssetTableInterval buffer that is used to check the middle of a period for a fiscal year.
Return Value
Type: AssetAmount Extended Data Type
The depreciation amount.