ReverseOrder: Boolean;
The ReverseOrder property determines state of the Reverse Order of Dictionary Elements option.
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.ReverseOrder := True;
MObj.Save;
End Sub Main;
After executing the example the Reverse Order of Dictionary Elements option is enabled in calendar dictionary.
See also: