If for a menu item (dish), at the time of importing the menu item (dish) consumption from r_keeper into r_keeper StoreHouse Pro, a department for write-off was not defined (new dish), then the "Department" field in the imported request will be blank.

This will prevent the request from being processed, i.e., from creating delivery notes that organize the write-off of ingredients for sold menu items (dishes).

If all sold goods from the imported request should be processed through the same write-off department, it can be defined on the "Title" tab of the request by manually selecting it from the list.
After saving the document, the field becomes unavailable for editing.
If the goods write-off needs to be processed via "complectation" (assembly), then this department will be automatically entered in the "Receipt" - "Supplier" field of the "Goods" tab.
If goods from the imported request should be written off from different departments, then for all menu items (dishes) from the request, the write-off rules must be defined on the product card, all requests for the problematic day must be deleted, and the import should be be performed again.

It is necessary to delete ALL requests for the days that contain requests with an empty "Department" field, because after defining new write-off rules on product cards, the goods should fall into some already created documents. During import, the presence of already imported requests is checked. And the system will not allow the creation of duplicate documents by "date + department + customer + sale location".