AssetTableMethod_RB::calculatePercentagByFactor Method [AX 2012]
Calculates the percentage value, based on the deprecation factor.
Syntax
server public static AssetDepreciationPercentage calculatePercentagByFactor(Percent _percentFactor, AssetServiceLife _serviceLife)
Run On
Server
Parameters
- _percentFactor
Type: Percent Extended Data Type
The factor amount to use to calculate the percentage amount.
- _serviceLife
Type: AssetServiceLife Extended Data Type
The service life of the asset.
Return Value
Type: AssetDepreciationPercentage Extended Data Type
The percentage amount if the service life and factor are specified; otherwise 0 (zero).