Share via


AssetDepBook::checkPriorYearDepreciation Method

Checks whether the calculated depreciation is for the current year or earlier years.

Syntax

client server public static boolean checkPriorYearDepreciation(
    AssetDepBook _assetDepBook, 
    AssetTableInterval _assetTableInterval, 
    TransDate _transDate, 
   [AssetDepBookTableMethod _assetTableMethodPrimary])

Run On

Called

Parameters

  • _assetDepBook
    Type: AssetDepBook Table
    The AssetDepBook table buffer for which to calculate the value.
  • _assetTableInterval
    Type: AssetTableInterval Class
    The AssetTableInterval buffer that is used to check the end period of the year.
  • _assetTableMethodPrimary
    Type: AssetDepBookTableMethod Class
    The AssetTableMethodPrimary buffer that is used to check the current depreciation period.

Return Value

Type: boolean
true if the depreciation date belongs to an earlier year; otherwise, false.

See Also

Reference

AssetDepBook Table