AssetTableIntervalExt_JP.yearToPeriod Method [AX 2012]
Determines the number of periods in the asset’s service life.
Syntax
public AssetLifeTime yearToPeriod(AssetServiceLife _assetServiceLife, [AssetTransDate _depreciationStartDate])
Run On
Called
Parameters
- _assetServiceLife
Type: AssetServiceLife Extended Data Type
The service life of the asset.
- _depreciationStartDate
Type: AssetTransDate Extended Data Type
The depreciation start date of the asset.
Return Value
Type: AssetLifeTime Extended Data Type
The total number of periods in the service life of the asset.