Legacy schema traps · Money and quantities
Why are the amounts in my ERP database 100 times too large?
Because the database stores amounts as integers with implied decimals: it stores 12950 and the screen shows 129.50. The number of decimals is not in the schema, and it can differ per column.
Run the free schema checkFree · five minutes · only schema and aggregates leave you
What it looks likeIllustrative
ORDLIN.PRICE=12950 means 129.50; ORDLIN.QTY=2500 means 2.500.
All table and column names are invented.
Why reports and AI agents get it wrong
It reports 12,950 as the price.
A first check you can run
Integer columns with money or quantity names, compared with values on a known screen.
Read-only and on the catalogue or aggregates: it looks at structure and value counts, not at individual records.
How Janus Works handles it
The scale of each column is confirmed by the Golden Master, one control value at a time.
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.