In 1C:Enterprise mode



Let us check the document.

  1. Start 1C:Enterprise in the debug mode.
  2. Open the document and click Save.
  3. Open the records created by the document in the BalanceOfMaterials register.

    You can see that the value of the Period field of all the records is now equal to the document date (fig. 21.7).


    Fig. 21.7. Modified records of the BalanceOfMaterials register

    So you achieved the goal, but only for scenarios where the document is saved interactively.
Next page: Writing register records from 1C:Enterprise script