Edge ERP: from warehouse to day-close
A distribution ERP and POS connecting purchasing, inventory, dispatch, field sales and accounting. Built from scratch by Ahsan for businesses that need to understand the full journey of an order.
- Ownership
- CoreNodeDigital product
- First beta
- 3 months
- Current adoption
- 1 live distributor
- Built by
- Ahsan · end to end
01 / The challenge
More visibility than the existing software could provide
The distributor using Edge ERP previously relied on older software that did not cover all the workflows they needed. The opportunity was to give the business a more connected view of what happens between creating an invoice, dispatching goods, delivering an order and recovering payment.
For a distribution business, a single sales total is only part of the picture. The owner also needs to understand delivery progress, what each salesperson is responsible for, which customer balances remain outstanding and how those activities affect stock and accounts.
The product goal
Connect these operational steps so staff can follow an order through its lifecycle and the owner can inspect the business from customer, salesperson, stock and financial perspectives.
02 / Ownership & delivery
Built end to end, with the first beta in three months
Edge ERP is a CoreNodeDigital-owned product designed for multiple businesses, including organisations with multiple branches. Ahsan personally built the system from scratch, covering the interface, backend, database and the connections between business modules.
The first beta took three months. That milestone marks the initial beta release; the product continues to evolve through live use. It is currently used by one distributor.
Operational scope
Customers, invoices, returns, purchasing, warehouses, loading sheets, deliveries and field payment collection.
Business support
Customer and vendor accounts, double-entry journals, employee attendance, payroll and PDF reporting.
03 / Step by step
Follow an order through the business
The central engineering challenge is the connection between modules. A stock movement, delivery or receipt needs to be reflected in the relevant operational and financial records.
- 1
Receive stock into the right location
A purchase order is received into a warehouse, floor and bin. Stock lots record where the goods belong.
Receiving connects stock availability with vendor bills and inventory/payables journal entries. Purchasing and finance use the same underlying transaction.
- 2
Draft the invoice and prepare dispatch
An invoice connects the customer, salesperson and route. Loading sheets group work for dispatch, while the loading stage reserves stock.
Drafting, loading and delivery are separate states. Teams can see where an order is in the process before it becomes a completed delivery.
- 3
Confirm delivery and update the books
On delivery, the stock reservation is consumed and goods leave the relevant location. Lot selection supports first-expiry-first-out or first-in-first-out rules.
Delivery links the physical stock movement to the sales and customer receivable postings, including payment handling where applicable.
- 4
Collect payments and understand balances
Recovery receipts are allocated against invoices. Staff can review customer balances by salesperson or see the full customer account across salespeople.
Collections reduce outstanding receivables. Customer statements bring invoice and payment history together, with date, salesperson and route filters.
- 5
Settle the route and close the day
Route settlement and register-shift closing bring the day’s activity together. Reports support review of deliveries, collections, stock and salesperson performance.
The Day End Master Report connects the operational picture with financial records, giving the owner more context for reviewing the business.
04 / Inside the product
See Edge ERP in action
Explore the product interface. All screenshots use demo data; names, contact details, balances and dashboard figures are illustrative. The interface shown carries the Edge POS name.
View full size ↗Dispatch organised by salesperson
Loading sheets bring invoices together for dispatch, with draft and closed statuses visible by salesperson.
View full size ↗From invoice draft to delivery
The invoice workspace connects salesperson, route, customer, payment type and dispatch with line items and delivery actions.
View full size ↗Customer balances in context
Date, salesperson and route filters sit alongside balance trends, payment activity and a printable customer statement.
View full size ↗A customer directory built around routes
Customer records can be explored by category, type, area and route, giving the team context for field-sales work.
View full size ↗The application dashboard
A look at the dashboard interface and navigation. All figures and records shown are demonstration content, not business results.
05 / Engineering decisions
Keeping operations, stock and finance connected
The system uses shared rules for money, stock and permissions. These decisions provide a common foundation for the modules, while keeping each shop’s operations scoped to the correct business context.
- React
- NestJS
- GraphQL
- PostgreSQL
- Prisma
- Tauri
One organisation, multiple operational branches
Edge ERP is designed for multiple businesses, including organisations with several branches. Each shop is an operational boundary for invoices, stock, recovery and accounts. User access determines which shops a person can work in.
This gives branches their own working context without treating every warehouse as a separate business. It does not imply consolidated multi-company accounting.
Shared financial and stock rules
Sales, purchasing, returns, payments and payroll connect through shared account codes and posting rules. Warehouse movements use common stock-location resolution. Invoice calculation logic is shared between frontend and backend.
Centralising these rules reduces duplicated logic and helps keep totals and stock behaviour consistent across modules.
A modular API behind the interface
React and Apollo connect to a NestJS GraphQL API, with Prisma and PostgreSQL handling the data layer. The monorepo contains shared packages for permissions, invoice calculations and PDF reporting.
The API and shared contracts let the interface and business modules work from the same definitions as the product grows.
Access controlled at the application boundary
JWT authentication, role permissions, input validation and active-shop access checks form the application’s access-control model.
A person’s permissions and shop access are part of the workflow, rather than relying only on which buttons the interface displays.
Warehouse detail when the business needs it
A default location supports simpler stock operations. Manual warehouse selection supports more detailed receiving and delivery workflows, including locations, lots and transfers.
The same product can accommodate a simpler shop and a more detailed warehouse operation without maintaining separate inventory systems.
An optional desktop deployment path
The Tauri desktop setup uses a local PostgreSQL database and NestJS backend. The interface continues to communicate through GraphQL.
This reuses the application contract for local-server operation. Offline synchronisation between independently edited devices is outside the current scope.
06 / Live use & outcomes
A clearer picture of daily distribution work
Based on the founder’s account of the live deployment, the distributor now has access to more business information and can track more of its operational process than with its previous software.
Order visibility
Track an invoice from draft through dispatch and delivery, including delivery status and timing.
Salesperson accountability
Review balances associated with individual salespeople and inspect broader customer balances without a salesperson filter.
More reporting context
Explore salesperson performance and operational reports alongside customer statements and accounting records.
These are qualitative observations from the current deployment. Time savings, revenue impact and error-rate improvements have not been measured for this case study.
07 / What comes next
Extending visibility into field activity
In development · Sales mobile app
The next extension focuses on salesperson activity, shop visits and route-based field workflows. This mobile app is in progress and is separate from the ERP functionality already in live use.
The project demonstrates the kind of connected business software CoreNodeDigital can build: a product where interface decisions, data modelling and operational rules have to work together.
Have a complex workflow to build?
Tell us about the people, processes and systems your application needs to connect. We’ll discuss scope and a delivery approach with your agency.
Discuss a Custom Partnership →