GetQuarter2

ACCPAC Common Controls

AccpacFiscalCalendar.GetQuarter2

Retrieves the fiscal quarter to which a given fiscal period and year belong.

Function GetQuarter2(
  Year As String,
  Period As Integer,
  Quarter) As Boolean

Parameters

Year

[in] the fiscal year

Period

[in] the fiscal period

Quarter

[out] returns the quarter the period belongs to

Return Value

Returns whether the specified fiscal year and period are defined in the fiscal calendar.

Remarks

Script languages, such as Javascript, that do not accept "out" parameters, should use this variation of the GetQuarter function.