IsLast
Determines if the current period or year is the last 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 last period or year of the application. This function can be used in these types of rules:
-
Calculation
-
Translation
-
Consolidation
-
Allocation
Syntax
HS.<Object>.IsLast
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 last period or year; False if the current period or year is not the last period or year.
Example
In this example, if the current period is the last period, then statements between the If...Then and End If statements are executed:
If HS.Period.IsLast = TRUE Then
...
End If