AssetBook::checkDepreciationConvention Method
Determines whether at least one transaction in the asset book table is related to the specified convention.
Syntax
client server public static boolean checkDepreciationConvention(AssetBookId _bookId, [AssetDepreciationConvention _depreciationConvention])
Run On
Called
Parameters
- _bookId
Type: AssetBookId Extended Data Type
An AssetBookId value.
- _depreciationConvention
Type: AssetDepreciationConvention Enumeration
The depreciation convention; optional.
Return Value
Type: boolean
true if at least one transaction in the asset book table is related to the specified convention; otherwise, false.
Remarks
The convention value is optional. If it is not specified, the method searches for a record that has a depreciation convention other than the AssetDepreciationConvention::None enumeration value.