ICalendarDimension.IncludeHalfYears

Syntax

IncludeHalfYears: Boolean;

Description

The IncludeHalfYears property determines whether the Half-Years level is included into calendar dictionary.

Example

Executing the example assumes that the repository contains a calendar dictionary with the CALENDAR_DIM identifier.

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

CalDim: ICalendarDimension;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("CALENDAR_DIM").Edit;

CalDim:=MObj As ICalendarDimension;

CalDim.IncludeHalfYears:=True;

MObj.Save;

End Sub Main;

After executing the example the Half-years level is included into calendar dictionary.

See also:

ICalendarDimension