Production Reference Public

Getting Started

Introduction Getting Started Enable the module, create the database tables, and grant the right people access — then confirm everything is wired up before you build your first…

Guide version: r1 Module version: 1.0.0 Updated: 2026-07-22 Estimated time: 3 min 1 views
Introduction

Getting Started

Enable the module, create the database tables, and grant the right people access — then confirm everything is wired up before you build your first Bill of Materials.

????
Who this is for. This page is for an administrator setting up the module. Day-to-day users can skip ahead to Core Concepts once an admin has completed the steps below.

Prerequisites

Production does not create raw materials or products itself — it consumes and produces Inventory items. Before you can build a BOM or run a Manufacturing Order:

  • The Inventory module data must exist. Production reads and writes the core inventory tables (items, item_variants, units, item_inventories) through the shared application models — so it works whether or not the Inventory UI is enabled, but the items themselves must be created first.
  • Every finished good and every raw material / component must exist as an Item with a default variant — stock is tracked against items.default_variant_id. An item with no variant cannot receive stock movements.
  • You need the relevant units of measure (pcs, kg, L, …) set up so quantities read sensibly.
⚠️
The module manifest declares a hard dependency on inventory. If the finished good has no inventory variant, completing a Manufacturing Order is blocked with “The finished good has no inventory variant, so stock cannot be posted.”

Activation — four steps

  1. Create the tables

    Run the module migrations from the project root. They are idempotent and reversible, and are tracked in their own migrations_production table.

    php erpat migrate:modules
    # (or) php erpat migrate:latest
  2. Turn the module on

    Go to Settings → Manage Modules and enable Production (this sets module_production = 1). To also use the advanced shop-floor tools, enable Manufacturing as well (module_manufacturing = 1) — it is a sub-feature that sits beneath the Production master switch.

  3. Grant permissions (for non-admins)

    In Roles, assign the Production / Manufacturing permissions to the roles that need them. Administrators see everything by default. See the Permissions & Roles matrix for the full list.

  4. Verify the routes

    Confirm the controllers resolved through the HMVC layer:

    php erpat route:list   # look for production/... entries

    You should now see a Production group in the left sidebar (and a Manufacturing group if you enabled it).

Two toggles, two sidebar groups

SettingUnlocksSidebar group
module_production
master
Overview dashboard, Work Centers, Bill of Materials, Manufacturing Orders, Production Reports, and the two dashboard widgets. Production (position 60)
module_manufacturing
sub-feature
Mfg Dashboard & Settings, Mfg Work Centers & BOM, Work Orders, Quality Control, Material Requisitions, Production Costing, Labor Tracking, Compliance Docs, Engineering Changes. Manufacturing (position 61)
????
module_manufacturing only takes effect while module_production is on — the sub-feature is gated beneath the master switch. Turning off Production hides both groups.

Who does what

Typical roles that map onto the module's permissions:

PlannerCreates BOMs and Manufacturing Orders, schedules production.
OperatorStarts/completes orders, records labor and downtime, issues materials.
QC InspectorRuns inspections, records measurements, raises NCRs and CAPAs.
Cost AccountantMaintains standard costs, reviews actual cost and variance.
EngineerRaises Engineering Change Orders, manages BOM versions.
Compliance OfficerTracks permits and certificates and their expiry.

These are conventions, not hard-coded roles — grant the matching permission keys to whichever roles fit your organisation.

Next steps

Was this guide helpful?

Report a content problem