Main > Knowledge Base > Knowledge Base > Knowledge base > Practical developer guide 8.3 > Lesson 21 (0:40). Editing register records in document forms > Editing register records from 1C:Enterprise script > Writing register records from 1C:Enterprise script > In 1C:Enterprise mode > Practical developer guide 8.3 > Lesson 21 (0:40). Editing register records in document forms > Editing register records from 1C:Enterprise script > Writing register records from 1C:Enterprise script > In 1C:Enterprise mode

In 1C:Enterprise mode

Let us check the new event handler.

  1. Start 1C:Enterprise in the debug mode.
  2. Set a new date for the document (for example, 02/03/2015), save it, and ensure that the records in the accumulation register have the new date as well.

While saving a document, you can control not only the period of the accumulation register records, but also the values of other register fields.

For instance, by applying the same principle you can create an AccountingOperation document for entering manual operations into the accounting register.

In that case, in addition to controlling the period of register records, you need to manage the values in the Active field (enabling or disabling document posting), and so on.

Next page: Choosing handler locations




© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.