Share via


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

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.

See Also

Reference

AssetBook Table