How are the cost and price of a composite item calculated?
The program knows what a composite item costs by adding up what its components cost. That is a calculation, and it is always available. What is optional is copying that figure to the item’s record, and so is having the sale price reworked from it.
What does it cost to make one unit?
The sum is the one from the bill of materials, and it is the same one you will see on the Bills of materials tab:
cost of one unit = sum of (quantity × component cost) ÷ Base units
The cost of each component comes from its record: its average price is used if it has one, and if not, the price of its last purchase. If a component is itself composite, the calculated cost of its bill of materials is used, not what is saved on its record: that way the figure doesn’t depend on who happened to run the last recalculation and two screens never give different figures.
This figure is always shown on the item’s Bills of materials tab, row by row and in total. Viewing it doesn’t change anything.
When is that cost copied to the item record?
Only if the company has set it up that way, and there are three options:
- Do not recalculate the cost (the default): the cost is calculated and shown, but the record isn’t touched. If you want to update it, you do it by hand with the process below.
- When saving the bill of materials: every time you save a bill of materials, the product’s cost is written to its record. And in cascade: the products that have that item as a component are also recalculated.
- When saving the bill of materials and when producing: on top of the above, each production report takes to the record the actual cost of that production —that of the components that really went out, with their batches—, not the theoretical one from the bill of materials.
The third is the most faithful to reality, but it moves the cost on the record every time you produce. It is worth it if your purchase prices fluctuate; if not, the second is enough.
Is the sale price recalculated too?
Only if keep the margin is turned on, and then the program does something very specific: it keeps the profit percentage the item had and reworks the sale price from the new cost.
It is the opposite of what would happen without that option. If the cost goes up and the price stays the same, the margin drops silently and you don’t find out until you look at a profitability report. With the option turned on, the price goes up and the margin is kept.
With the option turned off, the sale price is never touched: only the cost changes, and deciding what to do with the price is up to you.
How do I update the costs of all my composite items at once?
In Production → Bills of materials, in the Update composite item prices panel. You enter a range of codes —From code and To code, both optional— and run it.
The process goes through the composite items in that range, recalculates their cost from their components and writes it to their record. When it finishes, it shows a table with what has changed: code, description, cost before and now, and sale price before and now.
Two important things:
- This process works even if the setting says ‘Do not recalculate the cost’. It is the button you clicked yourself: if the automatic option is off, this is exactly the way to do it when it is due.
- It does respect keep the margin. That isn’t an automatic option, it is the company’s pricing policy, and it doesn’t change because the recalculation is run by hand.
The ends of the range are looked up with the same format as your company’s codes: typing 100 finds 000100, you don’t need to type the zeros.
Does the price of the document line come from the components?
It can, and it is another option, separate from the ones above. With it turned on, when the breakdown of a sales line is reworked, the price of that line becomes the sum of what its components are worth: the sale price of each component —with the price list that applies to that customer— multiplied by its quantity, and the result divided among the units produced. It happens when you type the item, when you change the quantity and when you accept the components window.
It only happens in sales documents. In a production report or a disassembly report the price is always the cost, and this option plays no part there. Nor does it play any part if the line has no components.
You choose it in Settings → Warehouse and production → Production, in the composite item prices section: Change the price of the main line (the default) or Do not change prices. Even with the default nothing changes as long as you don’t produce on sale, because without a breakdown there are no components to add up.
It has a safeguard worth knowing about: if you have set the price or the discount on that line yourself, the program respects what you have typed and doesn’t overwrite it, even if you change the quantity afterwards. The idea is that if you have just set a price by hand it is because you want that one, not the calculated one. The mark is forgotten if you change the line to another item, because then the price you had set was for the previous item; and also when you close the document and open it again.
Previous: Sell a composite item · Index: What is a bill of materials?
More about Production
- How do I set up an item’s bill of materials?
- How do I produce with a production report?
- Producing and assembling items
- Who are the workers and how are they maintained?
- How do I manage a production job with an order?
- How do I see what has been done on a project and the hours it has taken?
- What is a bill of materials and when do I need one?
- What happens when I sell a composite item?