MERIDIAN WORKS

Inventory Control Console · DC-04 Northfield
SQL ENGINE · LIVE INTEGRITY SYNCED —
Derived · stock_movements

Stock flow · 30 days

Units in Units out 7-day out trend
Query 01 · WHERE current_stock <= reorder_level

Low stock alerts

0
—
Query 02 · GROUP BY category

Capital by category

—
Query 04 · ORDER BY total_sold DESC LIMIT 10

Top sellers

Query 03 · JOIN products · last 30 days

Movement feed

—
Table · products

Product master

—Click any row for the product dossier
Write · INSERT stock_movements

Log a movement

Query 03 result set

Movement history · 30 days

—
Query 01 · severity derived in presentation layer

Replenishment board

Derived · reorder_qty / est_cost

Purchase plan

—
HAVING sold_30d = 0

Dead stock

Relational engine · in-browser · tokenizer → parser → executor

SQL console

SELECT · INSERT · UPDATE · DELETE
idle

products

product_id PK · name · sku UQ · category
cost_price · sell_price · current_stock
reorder_level · opening_stock · bin · supplier · demand

stock_movements

movement_id PK · product_id FK · type
quantity · reason · timestamp epoch ms · user

notes

DATE(ts) → 'YYYY-MM-DD'; timestamps are epoch ms and are date-formatted by the console renderer.
Audit

Query log

RFC-4180 CSV · UTF-8 BOM · live row counts

Report desk

—
Reconciliation · opening + Σ deltas = current

Data integrity check

—