Share via


AssetTableInterval_Fiscal::newFiscalCalendar Method [AX 2012]

Creates an instance of a subclass of the AssetTableInterval class.

Syntax

Note

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.

  Microsoft Dynamics AX 2012 R3
          client server public static AssetTableInterval newFiscalCalendar(
            AssetAccrual _assetAccrual, 
           [RecId _calendarRecId, 
            boolean _isCacheTable])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static AssetTableInterval newFiscalCalendar(AssetAccrual _assetAccrual, [RecId _calendarRecId])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static AssetTableInterval newFiscalCalendar(AssetAccrual _assetAccrual, [RecId _calendarRecId])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static AssetTableInterval newFiscalCalendar(AssetAccrual _assetAccrual, [RecId _calendarRecId])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static AssetTableInterval newFiscalCalendar(AssetAccrual _assetAccrual, [RecId _calendarRecId])

Run On

Called

Parameters

  • _calendarRecId
    Type: RecId Extended Data Type
    The record ID of the calendar to use when the interval is created; optional.
  • _isCacheTable
    Type: boolean
    A Boolean value that indicates whether fiscal calendar tables are cached to avoid multiple database calls; optional.

Return Value

Type: AssetTableInterval Class
The new instance of an AssetTableInterval subclass.

Exceptions

Exception Condition
Error

The specified calendar does not exist.

See Also

Reference

AssetTableInterval_Fiscal Class