AccumulationRegisterRecordSet.<Accumulation register name>.LockForUpdate


Read and write.


Type: Boolean.
Sets mode, which defines that the managed data lock is set for all combinations of dimensions according to records from the recordset during writing the recordset. It makes sense to use this method if register totals check is performed after writing and you need to lock combinations, by which the data is written. In this case you may not use the DataLock object.
When attempting to use it in the automatic lock mode, it causes an exception. After successfully recording a document, the property is set to False for all record sets.
When cancelling a transaction, the property value is restored to the state it had before the transaction started.
Default value: False.


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


1C:Enterprise Developer's Community