PeriodSettings

Properties:

BeginningVariant
DaysAfter
DaysBefore
EditAsInterval
EditAsPeriod
EndDate
EndingVariant
PeriodValue
PeriodVariant
SettingsMode
StartDate

Methods:

Edit
GetDateFrom
GetDateTo
SetPeriod

Constructors:

Default constructor

Description:

You can Used to input periods. Using the object you can set viewing intervals in various chronological lists.
The object is also used to set the viewing range by means of script.

Availability:

Thick client.
Serializable.

Example:

PeriodSettings = Controls.List.StandardPeriod;
PeriodSettings.BeginningVariant = PeriodBorderVariant.Month;
PeriodSettings.EndingVariant = PeriodBorderVariant.WithoutRestriction;
PeriodSettings.EditAsInterval = True;
PeriodSettings.EditAsPeriod = False;

See also:

Document list table box extension, property StandardPeriod
Information register record list table box extension, property StandardPeriod
Accumulation register record list table box extension, property StandardPeriod
Document journal table box extension, property StandardPeriod
Accounting register record list table box extension, property StandardPeriod
Calculation register record list table box extension, property StandardPeriod
Business process list table box extension, property StandardPeriod

    

1C:Enterprise Developer's Community