GetLastYear

ACCPAC Common Controls

AccpacFiscalCalendar.GetLastYear

Retrieves information of the last fiscal year set up in the company's fiscal calendar.

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

Year

[out, optional] returns the fiscal year

FiscalPeriods

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

Qtr4Period

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

Active

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

Return Value

Returns whether the last fiscal year is found in the fiscal calendar.