Production & Warehouse Management

Laminas · Magento integration · Production planning

TNK Motors — custom production management software

A custom Laminas application developed for TNK Motors to manage simple and assembled products, synchronize catalog and orders with Magento, analyse component requirements and manage production operations with estimated fulfilment times.

The production features extend an existing warehouse-management base: they add process definitions, parent/child semi-finished relationships, work-order drafts, supplier confirmation flows, component allocation, WIP handling, scrap tracking and delivery forecasting without separating production planning from the catalog and ecommerce data already managed by the system.

TNK production management dashboard

What the system handles

From product structure to production execution

Product catalog

Simple and assembled products with images, attributes and component relationships.

Magento synchronization

Automatic alignment of catalog and orders between the management application and ecommerce.

Production operations

Simulations, work orders, supplier handling, component allocation and work in progress.

Fulfilment forecasting

Estimated delivery times based on lead times, available stock and production choices.

Real interface

Main production views

These screens come from the working application and show three of the core planning views: assembled-product structure and availability, combined component analysis across selected orders, and the production simulator.

Assembled product

Assembled product

Required components and current availability for an assembled item.

Combined order analysis

Combined order analysis

Component requirements aggregated across multiple selected orders, with export support.

Production simulator

Production simulator

What-if planning with process timelines, parent choices, yield, lead time and batch capacity.

Production module guide

How the production workflow is modelled

The production section was added alongside the existing warehouse, assembled-product and Magento synchronization functions. Its scope includes production planning, scrap optimization, delivery-time forecasting, external-supplier processing, job acceptance and support for deciding how much raw material should be kept in stock according to expected demand.

1 · PROCESS MASTER DATA

Define production processes

Operators maintain the available process types — for example cutting, milling or chrome plating — together with the default parameters used by planning and work-order creation.

  • • Process name
  • • Default lead time in days
  • • Default batch capacity
  • • Theoretical efficiency / yield derived from semi-finished-product associations
2 · SEMI-FINISHED RELATIONSHIPS

Map Parent → Child transformations

A semi-finished-product association connects a Parent item to a Child item for a specific process. This lets the simulator evaluate alternative inputs and choose the most suitable path.

  • • Yield per unit: Child units obtained from one Parent unit
  • • Process-specific lead time and batch capacity
  • • Rank / efficiency used to select the best Parent automatically
3 · WORK-ORDER DRAFTS

Create a production draft from operational views

Draft work orders can be created from the Production simulator, directly from an order view or from the Combined analysis. The draft records the input and output products, process, dates and expected price when known.

4 · EXTERNAL SUPPLIERS

Send a draft to a supplier for confirmation or revision

A draft can be assigned to an external supplier and sent through a public tokenized link. The supplier does not receive the internal administration controls; the public workflow lets them confirm the proposed work or send back a revision.

Controlled lifecycle

Work-order states and allowed transitions

Production does not move through free-form status changes. The application controls the lifecycle so supplier confirmation, internal acceptance, component allocation and physical processing remain distinct steps.

Code Status Actor Meaning Available action
10DraftAdminWork order created, not yet sentSend · Edit · Delete
20SentSupplierRequest sent to supplierSupplier confirms or revises
25Supplier revisedAdminSupplier proposed changesReview and re-send
30Supplier confirmedAdminQuantity / price confirmedConfirm internal acceptance
40Admin acceptedAdminInternal approval to proceedAllocate components
45AllocatedAdminInputs allocated and WIP createdStart · Rollback
50In progressAdminProcessing startedComplete
60CompletedAdminOutput returned; scrap recorded
70CancelledAdminWork order closed without completion

Controlled sequence after supplier confirmation: 30 → 40 → 45 → 50 → 60.

Component allocation & WIP

At status 40, Allocate components moves the work order to 45. Input material is reserved / committed according to the inventory model and a WIP record is created so the material being processed is represented separately from both free stock and completed output.

Completing production

From In progress, the work order can be completed and the actual output quantity recorded. The documented fallback order for the quantity is actual → expected → supplier-confirmed, while completion also records the returned output and any scrap / variance information.

Operational details

Permissions, fields and operator guidance

Permissions & button visibility

  • Admins / operators: send, confirm, allocate, start, complete, edit and delete according to status.
  • Suppliers: no internal admin controls; they use the public tokenized confirmation / revision link.

Main work-order fields

  • • Input product (Parent) and input quantity
  • • Output product (Child)
  • • Expected / confirmed / actual quantity
  • • Expected / confirmed price
  • • Promise, sent, supplier-confirmed, admin-accepted and completion dates
  • • Internal notes and supplier notes

Production-planning context

  • • Check Parent availability before allocation or plan procurement.
  • • Use Combined analysis to evaluate components across multiple orders.
  • • Re-send a supplier request after supplier / price changes so the history remains explicit.
  • • Record reasons for scrap or quantity variations in notes so they remain useful in event logs.

Quick troubleshooting guide

I cannot see Allocate / Start / Complete
Check the current work-order status and the logged-in role.
Transition not allowed
The workflow is skipping a controlled step; after supplier confirmation use 30 → 40 → 45 → 50 → 60.
Stock does not appear to change after allocation
Check inventory movements and the distinction between committed/reserved stock and physical stock.
Completion quantity is zero
Enter the actual quantity or verify the expected / confirmed work-order values.
Supplier cannot confirm
Verify the public token and make sure the work order is still in the Sent state.

Why this project matters

Production planning connected to real inventory and ecommerce data

The interesting engineering problem is the connection between product structure, incoming ecommerce orders, component availability, alternative production paths, external suppliers, WIP and delivery forecasting. The software does not treat production as an isolated planning screen; it integrates it with the operational data already used by the business.

← Back to Laravel / Backend