Orders
An order is the demand-side anchor in MoveTheWheels. It carries type, priority, customer, and line items, with a status history that is an auditable lifecycle ledger. Every shipment is born from an order.
Order lifecycle
| Status | Meaning |
|---|---|
DRAFT | Created but not yet confirmed |
CONFIRMED | Ready to move; can be handed off to a shipment |
PROCESSING | Being prepared for dispatch |
SHIPPED | At least one shipment is in transit |
DELIVERED | All shipments completed |
CANCELLED | Order cancelled before fulfillment |
Fields
- Type — order classification (standard, expedited, bulk, etc.)
- Priority — urgency level that affects routing and SLA
- Customer — the party the order is placed for
- Line items — products, quantities, and special handling instructions
- Status history — timestamped transitions with actor attribution
Best practices
- Seed customers and products as reference data before creating orders
- Use templates to standardize common order patterns
- Attach documents (POs, contracts) via the files module
- Hand orders off to shipments rather than creating free-floating shipments