To define groups of the quality control:
In the module Warehouse choose Balances
Select the appropriate assortment and click on Edit
Go to the tab Batches
In the field Group click on Choose from the list (the icon presents a magnifying glass)
Click on Add on the list Groups of the quality control
Fill in the card New group of the quality control and click on Confirm
Click Add in the tab Defects
Fill in the card New defect of the assortment and click on Confirm