As a standard, when processing the sale, complectation documents are created automatically when processing requests. With this method of accounting, there is no accounting of semi-finished products and ready dishes. Write-off occurs for sale.
If the enterprise needs to keep records on the balances of semi-finished products and ready dishes, then production documents — i.e., complectations — must be created separately, at the time of actual production.

Production documents can be created in groups when working with internal and child requests.

For small productions, you can use manually created complectation documents.

Let us consider an example.

Juice is prepared in the Kitchen and transferred to the Bar for sale through the cash desk. At the r_keeper cash station, Lemonade 0.2l is sold.
To design this scheme in the program, do the following: