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

Legacy schema traps · Status, flags and deletion

What do the status numbers in my ERP database mean?

Status codes usually work in ranges, such as 10–19 open, 20–29 delivered and 90 and above closed. The ranges are defined in the application, not in the schema, so they have to be confirmed with someone who uses the system.

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

What it looks likeIllustrative

ORDHDR.STATUS takes the values 10, 12, 15, 20, 25, 90, 99.

All table and column names are invented.

Why reports and AI agents get it wrong

It reads “status > 10” as “not new” and counts cancelled orders as delivered.

A first check you can run

Value distribution of status columns, and whether values cluster in ranges.

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 trap report lists the values and asks what they mean; the answer is written into the tool and tested.

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

Common in the Jeeves database.

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