What does a cubic-metre invoice become?
A price per piece. A 3 metre length of 47 by 100, invoiced at £270 per cubic metre, is 0.047 times 0.100 times 3.0, which is £3.807 and is kept as £3.81 per piece. A 50 by 75 CLS at £220 per cubic metre, using the finished size in the brackets, is £1.58 for a 3 metre piece. A 1200 by 2400 sheet at £35.62 is £12.37 per square metre. A box of 250 is priced as the box, and the per-unit note is the price divided by 250. These are the checks the engine is built to reproduce. They are not a named merchant's invoices.
What is kept when the price changes?
The old row. A duplicate is the same description, the same price and the same supplier, after the wording is normalised. That line does not insert a new row. It records that the price was seen again. The same supplier and the same product at a different price is a new row. The older row stops being current, and the history stays. Another supplier is never a duplicate. The best price is the lowest current per-piece ex-VAT price. A tie goes to the later invoice.
Two wordings of the same timber can land on one row. A match under 0.92 waits for a person. The live selling price moves when you apply the cost, or when the store has turned that on. Until you apply it, the counter keeps the price it already has. The tiers then rebuild from that cost on the trade pricing page.