Founding customers: 10 free pilots in 2027. See the offer

Legacy schema traps · Money and quantities

Why does stock show 12 when we have 144?

Because quantities are stored in different units, such as boxes and pieces. 12 boxes of 12 are 144 pieces; the conversion factor sits in another table.

Run the free schema checkFree · five minutes · only schema and aggregates leave you

What it looks likeIllustrative

STOCK.QTY=12 in boxes; ITEMUNIT(ITEMNO, UNIT, FACTOR=12).

All table and column names are invented.

Why reports and AI agents get it wrong

It adds pieces and boxes.

A first check you can run

A unit column next to quantity columns, and a table of conversion factors.

Read-only and on the catalogue or aggregates: it looks at structure and value counts, not at individual records.

How Janus Works handles it

Tools return quantities in a stated unit, checked against the stock screen.

Every number verified against your own screens. Deviations shown, never hidden.

Run the free schema checkFind the traps in your own database. Free schema check, five minutes.