The engine checks the applicable price list, quantity breaks, customer discount and tax rate, then records the exact source on the quote line. If no valid price exists, the quote is refused instead of guessing. Money is stored as decimal, never floating point.
Every line shows provenance: which list, which discount, which validity date. That is what makes a quote reviewable instead of merely plausible.