Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
- _transDate
Type: TransDate Extended Data Type
The depreciation run date.
- _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.