RapidStartSetup::copyPrevYear Method [AX 2012]

Copies the information about periods from the most recent fiscal calendar year to the new fiscal calendar year at the time a fiscal year is created.

server public static void copyPrevYear(
    FiscalCalendarRecId _calendarRecId, 
    FiscalYearName _fiscalYearName, 
   [boolean _validate])

Run On

Server

Parameters

_calendarRecId
Type: FiscalCalendarRecId Extended Data Type
The record ID of a FiscalCalendar record in which the new fiscal calendar year is to be created.
_fiscalYearName
Type: FiscalYearName Extended Data Type
The name of the fiscal year to be created.
_validate
Type: boolean
A Boolean value that indicates whether to validate the parameters for fiscal calendar year; optional.

This method is executed if the copy period from most recent fiscal year check box is checked on the create new fiscal year dialog box.

Show: