Share via


AssetTableIntervalExt_JP.endDayOfServiceLife Method [AX 2012]

Calculates the end date of the service life.

Syntax

public TransDate endDayOfServiceLife(TransDate _depStart, AssetServiceLife _serviceLife)

Run On

Called

Parameters

Return Value

Type: TransDate Extended Data Type
The end date of the service life.

Remarks

Regardless of whether the value of the _depStart parameter is the start date of a period, the period that includes that date is considered part of the service life.

The expected end date of the service life is always the end date of a period. This whole period must be part of the service life. Otherwise, the expected end date is the last day of the previous period.

See Also

Reference

AssetTableIntervalExt_JP Class