AccumulationRegisterManager.<Accumulation register name>.SetAggregatesMode

Syntax:

SetAggregatesMode(<AggregateMode>)

Parameters:

<AggregateMode> (optional)

Type: Boolean.
True - aggregates are used instead of totals.
False - totals are used (the mode corresponds to the 1C:Enterprise 8.1 accumulation register behavior).

Description:

Sets the aggregate use mode.
If the register configuration contains no aggregates, the exception is called.
Totals are cleared on aggregates mode set enabled.
On aggregates mode set disabled aggregates are cleared and totals are recalculated.

Availability:

Server, thick client, external connection.

    

1C:Enterprise Developer's Community