AssetBook::checkPriorYearDepreciation Method
Checks whether the calculated depreciation is for the current year or earlier years.
Syntax
client server public static boolean checkPriorYearDepreciation(
AssetBook _assetBook,
AssetTableInterval _assetTableInterval,
TransDate _transDate,
[AssetTableMethod _assetTableMethodPrimary])
Run On
Called
Parameters
- _assetBook
Type: AssetBook Table
The AssetBook 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.
- _transDate
Type: TransDate Extended Data Type
The depreciation run date.
- _assetTableMethodPrimary
Type: AssetTableMethod Class
The AssetTableMethodPrimary buffer that is used to check the current depreciation period.
Return Value
Type: boolean
true if the depreciation date belongs to the earlier year; otherwise, false.