Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Home

Features

Glossary

Terms used throughout mms; the term is also the name used in code.

TermDefinitionStatus
ArticleA product that is managed in stock, identified by its SKU.v0.1
BatchA quantity of an article produced or received together and tracked as one unit, e.g. for recalls.later
Best-before dateThe date until which an article or batch keeps its specified properties.later
Goods issueA stock movement that removes a quantity of an article from a location.v0.1
Goods receiptA stock movement that adds a received quantity of an article to a location.v0.1
LocationA place where stock is kept; locations form a tree, from a whole warehouse down to a single bin.v0.1
Master dataLong-lived reference data such as articles and locations, created, updated and deactivated.v0.1
Physical inventoryCounting the actual stock and recording differences as stock adjustments.later
ReversalA stock movement that cancels an earlier one; movements are never edited or deleted.v0.1
Serial numberA unique identifier for a single item of an article.later
SKUStock keeping unit: the unique identifier of an article.v0.1
StockQuantity of an article at a location, derived from stock movements.v0.1
Stock adjustmentA stock movement that corrects stock to match reality, e.g. after damage or a count.v0.1
Stock movementAn immutable record of a quantity of an article entering, leaving or moving between locations.v0.1
Stock transferA stock movement that moves a quantity of an article from one location to another.v0.1
Transaction dataRecords of business events, such as stock movements, that are appended and never changed.v0.1
Unit of measureThe unit in which a quantity is expressed, e.g. piece, kilogram or metre.v0.1
WarehouseA top-level location, typically a building or site.v0.1
WorkspaceA folder containing an mms data set (.mms/ with configuration and database).v0.1

Introduction

Getting Started

Prerequisites

Installation

Configuration

Uninstallation

Server

Installation

Configuration

Scaling

Backup

Security

Administration

Developing

Upgrading

Introduction

CLI

Usage

Configuration

Commands

Extensions

CLI UI

Database

Import

Export

Roadmap

What mms works on now, what comes next, and everything that is deliberately postponed.

Now

  • A – Planning foundation: roadmap, architecture decision records, glossary and an organised GitHub project.

Next

  • v0.1 – Inventory core: mms_core, SQLite adapter and a CLI working directly on a workspace folder — articles, locations, stock movements and stock.
  • Sample data & import: an own import format, sample data sets and a first foreign format from another merchandise management system.

Later & Ideas

Frontends

  • Terminal UI (TUI) on top of the core API.
  • Server with an HTTP API, and a remote mode for CLI and TUI that talks to it.
  • Web application written in Rust (candidates: Leptos, Yew).
  • Desktop application.
  • Mobile application.
  • Localisation of CLI, TUI and web (e.g. with Fluent), including locale-aware formatting of numbers, dates and currencies.
  • Machine-readable CLI output (--output json).
  • mms explain <code> for detailed explanations of error codes.

Domain

  • Batch tracking.
  • Serial number tracking.
  • Best-before date tracking.
  • Physical inventory (stock counts).
  • Purchase orders.
  • Sales orders.
  • Supplier management.
  • Customer management.
  • Pricing and inventory valuation.
  • Returns management.
  • Reports (inventory, turnover, ABC analysis).
  • Demand forecasting.
  • Multilingual product data.

Platform

  • Postgres storage adapter.
  • Multi-tenancy.
  • Users, roles and authentication.
  • Local server as a background process with warm caches and workers, replacing a separate daemon.
  • Job queue for background processing.
  • Webhooks and an event stream for external consumers.
  • Full CQRS or event sourcing, should large deployments need it.
  • Search engine with an on-disk index.
  • Embedded key-value store (e.g. redb) for process locks and fast state (#26).
  • Multiple workspaces and organisations (#6).
  • Plugin layer for third-party extensions.
  • Mapping of error codes to HTTP status codes.

Integrations

  • Further foreign import formats.
  • EDI and GS1 standards (e.g. EANCOM).
  • Connectors to online shops.
  • Barcode and RFID support.

Vision

  • Automated warehouse: robots unload and load trucks while the system tracks exactly what is where and how much.
  • Monitoring of warehouse operations.
  • AI assistance on top of warehouse data.
  • Bottleneck prevention.

An item moves from Later & Ideas to Next only once it has a milestone and issues.