GetYear

ACCPAC Common Controls

AccpacFiscalCalendar.GetYear

Retrieves information about the given fiscal year.

Function GetYear(
  Year As String,
  [FiscalPeriods As Integer],
  [Qtr4Period As Integer],
  [Active As Boolean]) As Boolean

Parameters

Year

[in] the fiscal year to locate in the fiscal calendar

FiscalPeriods

[out, optional] returns the number of periods in the fiscal year

Qtr4Period

[out, optional] returns the quarter that contains 4 fiscal periods, if the fiscal year has 13 periods (that is, FiscalPeriods is 13)

Active

[out, optional] returns whether the fiscal year is active

Return Value

Returns whether the specified fiscal year is defined in the fiscal calendar.