Understanding the Structure of a Transport in Dashdoc
1. What is a Transport?
A Transport is the main object in Dashdoc. It represents a shipping operation managed by a single shipper and executed by a single carrier.
A transport must :
Always include at least one Delivery and at least one Segment.
A Transport can:
Contain several Deliveries (all from the same shipper).
Contain several Segments (each representing a part of the truck’s route).
2. Key Concepts
Delivery : What is shipped
A Delivery represents the path of the goods from one origin to one destination.
It describes what must be transported for a client.
Each Delivery:
Belongs to one Transport.
Has one origin and one destination.
Contains one or more Loads → the goods being shipped.
💡 Example: A delivery from warehouse A to warehouse B carrying 10 pallets of goods.
🚛 Segment — How it’s shipped
A Segment represents the path taken by the truck.
It describes how the deliveries are physically executed.
Each Segment:
Has one origin and one destination.
Specifies the trucker, vehicle, and/or trailer license plates assigned to that leg.
Always starts where the previous segment ended.
⚠️ Important:
A single Delivery cannot be split across multiple Segments.
If multiple Deliveries are needed (e.g. multiple clients or destinations), then multiple Segments are required to represent each delivery leg.
3. Simple Example : One Delivery, One Segment
Scenario:
A carrier ships goods from warehouse A to client B using one truck.
Object
Origin
Destination
Description
Here, both the Delivery and the Segment share the same route:
The Delivery holds the commercial and shipping details (client, goods, etc.).
The Segment holds the operational details (driver, truck, plates, etc.).
4. Complex Example : Multiple Deliveries to Different Clients
Scenario:
The shipper wants to deliver goods from a warehouse A to three clients located at B, C, and D.
One truck will make all deliveries in sequence.
Shipper’s warehouse (loading)
Delivery
Origin
Destination
Description
Segment
Origin
Destination
Description
Truck drives from A to first client
Truck continues to second client
Truck finishes at third client
Complex transport example 🧩 Connections:
Deliveries represent the intended paths of the goods (A→B, A→C, A→D).
Segments represent the actual route of the truck (A→B→C→D).
Each Segment starts where the previous one ends, forming a continuous trip.
Each Delivery corresponds to one drop-off point.
5. Key Rules Summary
The overall shipping operation
Must have ≥1 Delivery and ≥1 Segment
The path of the goods (A → B)
One origin, one destination; cannot be split
One origin, one destination; continues from previous segment