AssetTableInterval.hasYearChanged Method [AX 2012]
Determines whether two dates are in different fiscals or calendar years.
Syntax
public boolean hasYearChanged(AssetTransDate _oldDate, AssetTransDate _newDate)
Run On
Called
Parameters
- _oldDate
Type: AssetTransDate Extended Data Type
The first date to check.
- _newDate
Type: AssetTransDate Extended Data Type
The second date to check.
Return Value
Type: boolean
An exception, because this method is designed for the AssetTableInterval_Calendar, AssetTableInterval_AssetCalendar, and AssetTableInterval_Fiscal classes.