You can use this feature to generate new objects (such as documents, catalogs, or charts of characteristic types). We will explain this feature on the example of document generation, which is the most common use case.
For each Document configuration object, you can allow its generation based on other database objects. And the document itself can serve as a basis for the generation of other objects.
The operations that fill document attributes during the document generation must be described in the object module of the document, in the Filling event.
You can either do it manually or use the generation settings wizard that offers visual tools for handler script generation.
In this example a Services document is generated based on a Customers catalog item.
Next page: Creating a document generation command