Share via


AssetGroupBookSetup::checkDepreciationConvention Method

Determines whether at least one transaction in the AssetGroupBookSetup table is related to a specified depreciation convention.

Syntax

client server public static boolean checkDepreciationConvention(AssetBookId _bookId, [AssetDepreciationConvention _depreciationConvention])

Run On

Called

Parameters

Return Value

Type: boolean
true if asset group records are found; otherwise, false.

Remarks

The _depreciationConvention parameter is optional. If a value is not specified, the method searches for at least one record that has a depreciation convention other than AssetDepreciationConvention::None. If a given depreciation convention differs from AssetDepreciationConvention::None, the method searches for at least one record in the AssetGroupBookSetup table for this depreciation convention.

See Also

Reference

AssetGroupBookSetup Table