Share via


AssetDepBookTableDepConv_MidMonth_1st::calcPeriodMidMonth_1st Method [AX 2012]

Calculates the depreciation amount based on the MidMonth_1st convention rule for last period.

Syntax

client server public static AssetDepreciationTime calcPeriodMidMonth_1st(
    AssetDepreciationBookId _assetDepreciationBookId, 
    TransDate _transDate, 
    AssetTableInterval _assetTableInterval, 
    AssetDepBook _assetDepBook, 
    TransDate _depreciationLastRunDate)

Run On

Called

Parameters

  • _assetTableInterval
    Type: AssetTableInterval Class
    An AssetTableInterval buffer that is used to check mid of period for fiscal year.
  • _assetDepBook
    Type: AssetDepBook Table
    An AssetDepBook table buffer that is used to calculate the value.

Return Value

Type: AssetDepreciationTime Extended Data Type
The number of periods based on MidMonth_1st convention rule.

See Also

Reference

AssetDepBookTableDepConv_MidMonth_1st Class