AccountingRegisterManager.<Accounting register name>.SetMaxTotalsPeriod

Syntax:

SetMaxTotalsPeriod(<Period>)

Parameters:

<Period> (required)

Type: Date.
Period you need to calculate totals for.

Description:

Sets the interval at which totals are calculated. Affects only how fast balances and turnovers are gotten for this register. When set, totals can be calculated for new open periods. The calculation interval is one month. The parameter specifies the end of the period for which totals should be calculated. If 31.01.2000 date is specified it means that totals will be calculated for 01.02.2000. To obtain totals after this date actual totals will be used.

Availability:

Server, thick client, external connection.

Note:

The period for which totals are calculated affects only how fast balances are gotten for this register. To get register totals after the set calculation period, results obtained from the use of the method will be used.

Example:

Registrs.Balance.SetMaxTotalsPeriod(SelDate);

    

1C:Enterprise Developer's Community