Skip to content
v26.3

Recipes and costing

For whom: kitchen, bar and owner · Where: Admin → Articles → open article → Stock tab

A recipe tells DiKAS what a sold article consists of. When a Cuba Libre is sold, not "one Cuba Libre" but 4 cl rum and 10 cl cola are deducted from stock. In the same tab DiKAS calculates what the recipe costs — and what the selling price leaves over.

Prerequisite

Every component that is actually stored needs "Track stock" (Articles with stock). The freshly prepared sales article can be kept without its own stock; its recipe ingredients are still taken. For quantities in cl or grams the component also needs Content per unit and Content unit.


Direct recipe and stored own product

A freshly prepared recipe article has Track stock off: the sale takes its stock-tracked ingredients. A prepared article with Track stock on, on the other hand, is sold from its own finished stock; its ingredients are taken at production. This also applies to stored intermediate products in other recipes and prevents double consumption of raw goods. Check this setting for existing articles too.

1. Creating a recipe

  1. Open the sold article (e.g. "Cuba Libre"), Stock tab.
  2. Scroll to the Recipe section.
  3. In the field "Add component" search by name or PLU. Arrow keys to navigate, Enter accepts, Escape closes the list.
  4. In the new row enter the Quantity and choose the Unit.
  5. Add further components, then Save.

For each row the table shows: Component, Quantity, Unit, Trim loss % (not for sets), Cost net and a trash icon to remove.

If Track stock is missing on a component

Then the row shows a warning icon with the note "Track stock missing". The component is not deducted and not valued — the switch has to be added on that article.

If no component is stored, it says "No components — article is kept without a recipe." The article then deducts itself.


Trim loss and yield

When peeling, trimming or boning, part of the raw goods is lost. In the column Trim loss % enter the share that is lost (e.g. 20 for potatoes). The Quantity in the row remains what ends up in the finished dish; next to it is the Yield (100 % minus loss, here 80 %).

DiKAS then calculates with the larger raw quantity: from 1 kg of potatoes in the dish and 20 % trim loss, 1.25 kg results — both in the cost of goods of the costing and in the stock deduction at sale and at production. Costing and stock therefore do not drift apart.

  • Without an entry (empty or 0) everything stays as before.
  • 0 to 90 % are allowed. A higher or negative value is rejected on saving.
  • A set has no trim loss.
  • A loss entered later does not change sales already booked; a void books back what was sold.

Check on saving

When creating and changing a recipe, DiKAS checks the ingredients and quantities used. A missing or deleted ingredient, a quantity of zero or less, a circular reference, nesting that is too deep or a non-matching unit prevents saving. The error message names the recipe path and the reason. When an article is reactivated, its stored recipe is also checked.

If you change the content or the unit of an ingredient, DiKAS also checks the recipes that depend on it. Example: a recipe line needs 40 ml rum. If the bottle content is accidentally entered as kilograms, the existing recipe must not become unusable unnoticed. Correct the assignment or content named in the message and save again.

A notice about a missing purchase price in the costing is to be distinguished from this: the recipe quantity can be technically valid although the price is still missing. Add the purchase price before assessing the cost of goods. Existing legacy data is not cleaned up automatically by an update. After imports or external master data changes, check the affected recipes separately.

2. The three units of quantity

In stock, three units occur. Keeping them apart is the most important point of this page:

Unit Where it counts Example
Stock unit Stock, stocktake, transfer 1 bottle
Content unit Recipes 4 cl (the bottle has 70 cl)
Pack Orders from the supplier 1 crate = 12 bottles

The selection in the Unit column contains the stock unit and the content unit of the component as well as matching units of quantity. For liquids ml, cl, dl and l are offered, for weights g and kg. So 4 cl from a bottle with 0.7 l content corresponds to about 0.057143 bottles. Mass and volume are not offset against each other: litres cannot be derived from kilograms without an additional basis. A non-matching stored unit is shown as a problem in the costing.

Recipes may be nested — up to three levels

A component may itself have a recipe (sauce → stock → ingredients). From the fourth level DiKAS aborts and reports it in the costing. A recipe that contains itself is also detected and not resolved endlessly.


3. What happens at sale

When ordering or at direct sale, DiKAS deducts the following:

  1. Either the sold article itself — if it has Track stock on, only its finished stock is consumed and the recipe is not resolved —
  2. or its recipe components (up to three levels deep) if it keeps no stock of its own. A component that itself keeps finished stock (stored sauce) is deducted as a whole ingredient, its raw goods not again,
  3. additionally the chosen article options, as far as they are stock-tracked.

Deduction is always from the stock location of the workstation at which the sale was made. A void books back the same quantities — even if the recipe has been changed in the meantime: what was sold is booked back.

The sale always takes priority

If a quantity cannot be deducted, the sale goes through anyway and the receipt is complete. A sale with a broken recipe (missing ingredient, wrong unit) is not deducted but held under Missing deductions until you have corrected the recipe and booked it now; the overview shows such recipes under Check recipes (Overview). Other deviations from reality are straightened out by the stocktake.


4. Costing of the basic recipe

As soon as a recipe exists, the box "Costing of the basic recipe" appears below it. It calculates live while you change quantities.

Key figure Meaning
Current selling price gross / net The selling price as it is in the article today
Cost of goods net Sum of the component costs
Contribution margin Selling price net − cost of goods
Contribution margin ratio Contribution margin as a percentage of the net selling price
Cost of goods ratio Cost of goods as a percentage of the net selling price

Below it is the Price suggestion for the desired target contribution margin, e.g. "Price suggestion at 70 % target margin: €8.90 gross". The button "Apply to price field" enters the value into the price field of the form — saving happens, as everywhere, only with "Save".

Where the purchase price comes from

For each component DiKAS looks for the price in this order:

  1. Average purchase price of the main stock,
  2. average purchase price of another stock location,
  3. PP per pack of the default supplier, divided by the pack factor.

So whoever has never booked in goods costs via the pack prices from the article.

In the Stock tab each supplier line shows "Price changed on …": since when the entered pack price has applied. DiKAS sets the date itself on saving as soon as a price is newly entered or changed (also in the import). For prices that were entered before this note there is no date. The recipe check uses it to find outdated list prices.

Target contribution margin

Two choices are above the suggestion:

  • "Use business default" — takes the value from Admin → Settings → Business → Costing defaults → Default target contribution margin (%). The default is 70 %, which corresponds to a cost of goods ratio of 30 %.
  • "Article exception" — a value of its own just for this article (1 to 95 %).

Which tax class the suggested gross price carries is also set in the costing defaults (Tax class of the price suggestion).

If the costing is not complete

If a component lacks a purchase price, is deleted, has no Track stock or the recipe goes deeper than three levels, the yellow box "Costing incomplete:" appears with the list of reasons by name. Key figures and price suggestion are then locked, and the displayed cost of goods is a lower bound — the real cost of goods is higher.

If no single component yields a valued stock line, it says "Nothing to cost:".

Contribution margin is not profit

Extras and side dishes do not belong to the basic recipe and are not included. Staff, rent and energy are also not yet deducted in the contribution margin.


Practical example: Cuba Libre

Rum 0.7 l (avg. PP €7.00 per bottle), cola 1 l (avg. PP €0.90 per bottle), lime (€0.30 per piece).

  1. Open the article "Cuba Libre", Stock tab, Track stock off — the cocktail itself has no stock.
  2. Recipe: rum 4 cl, cola 10 cl, lime 0.25 pcs.
  3. The box calculates: rum €0.40 + cola €0.09 + lime €0.08 = cost of goods €0.57.
  4. With a selling price of €8.50 gross (net €7.14) this gives a contribution margin ratio of 92 %.
  5. The suggestion at 70 % target margin would be considerably lower — so here the price is comfortably calculated.

From now on every Cuba Libre sold deducts 0.057 bottles of rum, 0.1 bottles of cola and a quarter lime from the bar's stock location.


If something does not work

Message / observation Cause and remedy
"Track stock missing" in a recipe line The component is not stock-tracked. Add it on the component article.
"Costing incomplete:" The box names the components. Usually a purchase price is missing: maintain the pack on the article or book a goods receipt once.
"Nothing to cost:" No component yields a valued stock line — check prices and Track stock.
"Recipe costing is currently not available." Temporary fault. Reload the screen; the recipe itself is not affected.
"No matching articles found." The search finds only articles that are not already in the list and are not the article itself.
The desired unit is not available for selection The selection offers the stock unit and content unit of the component. If one is missing, it is not maintained on the component article.
The stock decreases by the wrong factor Check quantity and unit in the recipe line against Content per unit on the component article (0.7 l is something different from 70 cl).

Next step