How to Resolve the 'Missing Unit Conversion for the Nutritional Label' Error
When working with sub-recipes, you may encounter the error message "missing unit conversion for the nutritional label." This issue arises because meez calculates nutrition based on weight measures. If a sub-recipe uses a count-based unit (e.g., "1 pc") and the system does not have a defined weight equivalency for each piece, it cannot compute the nutritional information. Below, we explain why this happens and provide a step-by-step guide to resolve the issue.
Why Does This Error Occur?
Nutrition calculations rely on weight-based measurements. If a sub-recipe uses count-based units (e.g., "1 piece" or "30 each") without a corresponding weight equivalency, the system cannot determine the weight of the sub-recipe or its components. This lack of information prevents the generation of an accurate nutritional label. To fix this, you need to define weight equivalencies for the sub-recipe so that meez can calculate nutrition correctly.
Steps to Fix the Error
Follow these steps to define weight equivalencies and resolve the error:
Open the Sub-Recipe - Navigate to the sub-recipe in question (e.g., "Pie Dough" or any other sub-recipe). - Click the Edit button to access the recipe settings.
Access the Unit of Measure (UoM) Equivalency Tab - Locate and open the UoM Equivalency tab within the sub-recipe settings.
Turn Off Standard Weight–Volume Conversion - Disable the "Standard Weight–Volume Conversion" option to allow for custom weight mappings.
Define Weight Equivalencies - Enter explicit weight mappings for the sub-recipe. You can do this in one of two ways: - Specify the weight of a single piece (e.g., "1 piece weighs 200 grams"). - Alternatively, enter the total batch weight and the number of pieces (e.g., "Batch weighs 6 kg and contains 30 pieces"). meez will automatically calculate the weight per piece based on this information.
Save and Refresh - Save your changes to the sub-recipe. - Refresh the parent recipe that uses this sub-recipe. The nutritional label should now generate correctly.
Additional Tips
Ensure that all sub-recipes linked to parent recipes have defined weight equivalencies to avoid similar errors.
Regularly review and update weight mappings if the recipe or batch size changes.
By following these steps, you can resolve the "missing unit conversion for the nutritional label" error and ensure accurate nutritional calculations for your recipes in.
