AssetDepreciationProfileSpec::getNumberOfIntervals Method
Get the number of intervals from AssetDepreciationProfileSpec specified for a given depreciation profile.
Syntax
client server public static AssetInterval getNumberOfIntervals(AssetDepreciationProfileId _profileId)
Run On
Called
Parameters
- _profileId
Type: AssetDepreciationProfileId Extended Data Type
A depreciation profile for which depreciation schedule is defined.
Return Value
Type: AssetInterval Extended Data Type
Returns number of intervals if the depreciation schedule is defined; otherwise 0 is returned.