Solution
Food Manufacturing ERP
An ERP that runs purchase, production batches, dealer orders, dispatch and lot-level stock for a food manufacturer, with a full report suite and more than 100 automated tests.
The business
A food manufacturer was tracking purchase, production and dispatch in disconnected spreadsheets. Stock figures could not be trusted, wastage went unmeasured, and management had no reliable view from raw material to dealer order.
The challenge
- Model production accurately: batches, recipes, consumption, conversions and wastage.
- Track stock by lot, with every movement recorded.
- Tie dealer orders to dispatch against real stock.
- Give each user only the actions their role allows.
What we did
We ran the project end to end and built the ERP on .NET 8 with Clean Architecture. A web interface serves office and plant staff, and a secured, versioned API is ready for mobile use. Stock runs on a movement ledger, so every purchase, production run, wastage entry and dispatch updates lots consistently.
Modules
Purchase
Purchase entries, suppliers and purchase-stage wastage.
Production
Batches, recipes and consumption, conversions and production wastage.
Orders and dispatch
Dealer orders fulfilled and dispatched against available stock.
Lot-based stock
Opening stock, lot inventory, stock movements and custom stock registers.
Reports
Eleven operational reports, from purchase to stock movement, with Excel export.
Access control
Users, roles and action-level permissions shared by the web app and the API.
How it is built
- Clean Architecture on .NET 8; one business layer serves the web app and the API.
- Stock movement ledger with audit fields and soft delete.
- 18 test classes with around 113 automated tests on business services.
Results
- Purchase, production, orders, dispatch and stock run in one system.
- Stock is tracked by lot, and wastage is measured at each stage.
- Management gets consistent reports instead of reconciling spreadsheets.
AI-ready by design.
Where AI fits next.
Batches, lots, dealer orders and dispatch are tracked end to end, ready for AI forecasting.
Forecast dealer orders to plan production and purchase.
Read supplier invoices and post them to the ERP.
A daily AI note on late dispatches and low stock.
One to two weeks to pick the use case and prove the data is ready.