Noteworthy components

Calculation of recipe ingredients when changing the base unit

The program can work with units (e.g. litres or bottles or crates) from which partial quantities are then defined for recipes and queries. If you simply change such a unit later, the programme must determine how the partial quantity for the recipe is now measured on the basis of the new unit and enter this wherever the unit was previously used. Such changes should always be made with caution.

Partial quantity determination when changing a base unit...

If the base unit of an item is changed and this item is used as part of a recipe, a conversion factor is determined between the old and new unit. If this conversion factor is not equal to 1, a message is displayed and the quantities in the recipe ingredients can be automatically adjusted to the newly selected unit by clicking Yes. If portions > 1 are used for an item, these are also taken into account:

The check is also carried out when units are transferred from Orgasoft.NET if the assignment dialogue is exited in the interface to Orgasoft.NET and the data is automatically entered in the item master.

The conversion takes into account

  • ml = millilitre

  • cl = centilitre

  • dl = decilitre

  • l = litre

  • g = gram

  • kg = kilogramme

  • and piece.

Purchase prices and inventories are not included in the conversion and should be checked manually if necessary.

If a changed base unit is reset to its original value before saving, the quantities in the recipes are also automatically reset to the original values.

Examples in the parts list...

Rum in 700 ml bottle, 30 ml in the recipe

Changing the base unit of the rum bottle to litres and confirming the query with YES then changes the recipe so that it still contains 30 ml.

If No is selected, there is no recalculation, the value of the percentage share would remain identical, but a higher quantity would result, as the quantity of the unit would be larger (here approx. 43 ml).

Rum in 700 ml bottle, 30 ml in the recipe. Changing the base unit of the rum bottle to litres and confirming the query with YES changes the recipe so that it still contains 30 ml:

If you select No - no recalculation, the percentage would remain the same, but it would result in a higher quantity (here approx. 43 ml):


Further documentation:

Basic units and control types

Sub-queries and sub-components, Components area, booking assistant.

Back to the parent page: Basic Knowledge 4: Components and Queries