Let us check the document.
- Start 1C:Enterprise in the debug mode.
- Open the document and click Save.
- 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.