STOCKYARD

Inventory Ops Console · DC-04
SYNCED
--:--:--
Live query results · 30-day window

Inventory Analytics

Every figure on this board is produced by a SQL statement executed against the products and stock_movements tables by the embedded query engine.

Q-01

Low Stock Alert

idle

            
0 ms
Rows returned: —
Q-02

Inventory Value

idle

            
0 ms
Rows returned: —
Q-03

Stock Movement History — last 30 days

idle

            
0 ms 7d14d30d
DAILY FLOW · receipts above axis, issues below
CARTON-AT-RISK TREND · retail value of stock on hand, recomputed from the ledger
Rows returned: —
Q-04

Top Selling Products

idle

            
0 ms
Rows returned: —
SQL

Query Console

ready
category counts 5 thinnest SKUs movement by type margin ranking raise reorder level
Execution log
Table: products

Product Register

Click any row to inspect its ledger history, velocity and cover.

Table: stock_movements

Movement Ledger

Every entry is written with INSERT INTO stock_movements, then applied to the product row with UPDATE products SET current_stock = ….

LOG

Record Movement

HIST

Ledger

AllInOutAdjust
Q-01 results enriched with velocity & cover

Low Stock Alerts

Severity, days-of-cover and suggested purchase quantity are computed live from the 30-day out-flow in stock_movements.

CSV exports · UTF-8 · comma delimited

Reporting

Each export re-executes its SQL statement, so files always reflect the live tables.

DDL

Data model & documented queries


        
Reseeding regenerates 30 days of movement history deterministically.
SKU

—