Skip to content
← Work

InCube · Technical Lead & project lead · 2024

A nationwide transport management system, built in under six months

Replaced paper, spreadsheets and phone calls with a fully automated transport management system for one of Saudi Arabia's largest grocery retailers. It's still running today.

< 6 mo

from kickoff to go-live

2

engineers built the whole system

4

regional distribution centers, nationwide

team
Two engineers
what i owned
Requirements, planning and project management, plus every module except the driver app and telematics
timeline
Under six months, early to mid 2024
  • C#
  • .NET Framework
  • ASP.NET
  • WCF
  • SQL Server
  • Kotlin

how it fits together

  1. 01

    Warehouse system

    Store orders flow in automatically

  2. 02 · built this

    TMS

    Order splitting, planning, dispatch, cross-dock

  3. 03

    Routing engine

    Optimized routes per truck

  4. 04

    Trucks

    Smart key handover, live vehicle data

  5. 05

    Driver app and stores

    Delivery and proof of delivery

Problem

One of Saudi Arabia’s largest grocery retailers was moving goods from its distribution centers to stores across the Kingdom with paperwork, spreadsheets and phone calls. Orders arrived from the warehouse system, but everything after that was manual: planning happened in Excel around driver schedules, there was no route planning or dispatching, no way to see how well trucks were used, no live tracking, and proof of delivery was on paper.

Constraints

  • Nationwide from day one: four regional distribution centers, plus temporary satellite DCs during Ramadan.
  • A mixed fleet: company trucks, rental trucks, and casual drivers without a handheld device or the driver app.
  • Lots of systems to talk to: the warehouse system, a smart key-management system, vehicle telematics and a routing engine.
  • Under six months from kickoff to go-live, on a high-stakes project, with me as both project lead and engineer.

What I built

I gathered the requirements, planned the project and built every part of the system except the driver app and telematics integration, which the other engineer owned. We helped each other constantly. All of it was written by hand, without AI coding tools.

  • Automatic order splitting: bulk orders are spread across the full week by weight, within each DC’s capacity.
  • Planning, dispatch and vehicle assignment, with routes from an integrated routing engine.
  • A yard module for the parking attendants who manage trucks at the loading bays.
  • A cross-dock module for goods moving DC → DC → store.
  • A satellite DC module for the Ramadan peak.
  • Support for rental trucks and casual drivers with no device.
  • Integrations with the warehouse system, the smart key system (drivers scan their card to collect a truck’s key) and telematics (speeding and other live vehicle data).
  • Reporting, and digital proof of delivery at the store.

Result

Almost everything in transport is now automated, which saved fleet coordinators a huge amount of working time, and trucks are used far more efficiently than before. For the first time there’s visibility at every step, from docking a truck at the bay to proof of delivery at the store. The system is still running in production today.

Key decisions

Let the system plan the week

Bulk orders are split automatically across the whole week, weighted by order size and checked against each distribution center's capacity, instead of being planned by hand in spreadsheets.

Plan for the real fleet, not the ideal one

The system handles rental trucks and casual drivers who have no handheld device or driver app, so every delivery can be dispatched and tracked, not just the easy ones.

before

  • Orders planned by hand in spreadsheets around driver schedules
  • Coordination over phone calls and paperwork
  • No view of truck utilization, routes or live location
  • Paper-based proof of delivery

after

  • Bulk orders split across the week automatically, within DC capacity
  • Routes planned by a routing engine and dispatched digitally
  • Live vehicle data from telematics and automated key handover
  • Much better truck utilization
  • Full visibility from the loading bay to proof of delivery at the store

Client names are withheld to respect confidentiality.

Got something that needs to move?

Hiring, collaborating, or just curious, I'd love to hear from you.

Send a message
aqib@rasdeen: ~