AccountingRegisterManager.<Accounting register name>.SetMinAndMaxTotalsPeriods

Syntax:

SetMinAndMaxTotalsPeriods(<MinimumPeriod>, <MaximumPeriod>)

Parameters:

<MinimumPeriod> (required)

Type: Date.
Start of the period for totals calculation.

<MaximumPeriod> (required)

Type: Date.
End of the period for totals calculation.

Description:

Sets the interval at which totals are calculated. It influences the performance of obtaining balances and turnovers for the current register as well as the performance of scheduled operations such as database recovery.
When set, totals can be calculated for new open periods.
The calculation interval is one month.

Availability:

Server, thick client, external connection.

Note:

If a configuration has enabled compatibility mode Version8_3_2 and lower, an exception is generated when the method is executed.

Example:

Registrs.Balance.SetMinAndMaxTotalsPeriod(MinPeriod, MaxPeriod);

See also:

AccountingRegisterManager, method SetMinTotalsPeriod
AccountingRegisterManager, method SetMaxTotalsPeriod

    

1C:Enterprise Developer's Community