IsFirst

Determines if the current period or year is the first period or year of the application. The default frequency of the current scenario is used to determine if the current period or year is the first period or year of the application. This function can be used in these types of rules:

  • Calculation

  • Translation

  • Consolidation

  • Allocation

Syntax

HS.<Object>.IsFirst

where <Object> is one of these keywords:

  • Period

  • Year

Return Value

A Boolean expression that is True if the current period or year is the first period or year; False if the current period or year is not the first period or year.

Example

In this example, if the current period is the first period then statements between the If...Then and End If statements are executed:

If HS.Period.IsFirst = TRUE Then
  ...
End If