AccumulationRegisterManager.<Accumulation register name>.SetMinTotalsPeriod

Syntax:

SetMinTotalsPeriod(<Period>)

Parameters:

<Period> (required)

Type: Date.
Period from which the totals should be calculated.
If the date 01.01.2000 is specified, totals will be calculated for the beginning of the day 01.01.2000.

Description:

Sets the interval at which totals are calculated. Affects only the balances obtaining efficiency by this register. The calculation interval is one month. The period is set for the beginning of the month.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

Makes sense only for the remainder registers.
The period the totals are calculated for only affects performance of obtaining balances for this register. Register records will be used to acquire totals prior to this date.
If a configuration has enabled compatibility mode Version8_3_2 and lower, an exception is generated when the method is executed.

Example:

Registrs.Balance.SetTotalsPeriod(SelDate);

    

1C:Enterprise Developer's Community