AccumulationRegisterManager.<Accumulation register name>.SetMaxTotalsPeriod
SetMaxTotalsPeriod(<Period>)
Type:
Date.
Period you need to calculate totals for.
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. The parameter specifies the end of the period for which totals should be calculated. If 31.jan.2000 date is specified it means that totals will be calculated for 01.feb.2000. To obtain totals after this date actual totals will be used.
Server, thick client, external connection, Mobile application (server).
Makes sense only for the remainder registers.
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.
Registrs.Balance.SetMaxTotalsPeriod(SelDate);
|