CalculationRegisterManager.<Calculation register name>.GetScheduleData

Syntax:

GetScheduleData(<Filter>, <PeriodType>)

Parameters:

<Filter> (required)

Type: Structure; Filter.
If a parameter belongs to the Structure type, it is a filter for register records, for which the schedule data are to be obtained. Structure element names must either contain the word "Recorder" or be the same as dimension names of the calculation register. Structural element values are, in fact, the filtering values. At least a recorder condition must be present.
If a parameter belongs to the Filter type, it is a filter for register records, for which the schedule data are to be obtained. Filter must at least use recorder filtering element. All filter elements must set condition with "Equal to" comparison option.

<PeriodType> (required)

Type: CalculationRegisterPeriodType.
Calculation register period type.
ActionPeriod returns the calendar data for the actual action period.
BasePeriod returns data for the base period.
If RegistrationPeriod, then calendar data for the registration period. For example, if the calculation register has monthly periodicity, then the calendar data is calculated for the whole month when the calculation register record is made.
By ActualActionPeriod, the schedule data is calculated for the actual action period of the calculation register record(s).

Returned value:

Type: ValueTable.
The table of values contains two columns: record number and obtained calendar data.

Description:

Obtains the calendar for register records corresponding to the specified filter. The number of rows of a table of values is the same as the number of record register records for this filter.

Availability:

Server, thick client, external connection.

Example:

RegistrManager = CalculationRegisters["MainChargedForOrganizationsEmployess"];
TimeNormTable = RegistrManager.GetScheduleData(Filter, 
        CalculationRegisterPeriodType.ActionPeriod);


    

1C:Enterprise Developer's Community