Chapter 2
Logistics Data Management and Architecture
Post Graduate Program in Logistics
Logistics Analytics
•
Post Graduate
Logistics Data Management and Architecture
Introduction
Logistics analytics is only as reliable as the data on which it depends. A sophisticated forecasting model cannot compensate for duplicated product codes, missing delivery timestamps, inconsistent units of measure, or an unclear definition of “on-time delivery.” Logistics data management therefore concerns more than storing records. It involves defining data, capturing it at operational events, integrating heterogeneous systems, controlling quality, protecting sensitive information, and preserving evidence of how data was transformed.
A contemporary logistics network produces data through enterprise resource planning (ERP), warehouse management systems (WMS), transportation management systems (TMS), order management systems (OMS), telematics, Internet of Things (IoT) devices, suppliers, carriers, customers, customs authorities, weather services, marketplaces and financial institutions. These sources differ in granularity, timing, ownership, formats and reliability. The central architectural challenge is to make them interoperable without destroying the context needed for operational and strategic decisions.
This chapter develops a practical architecture for logistics data. It explains major source systems, data models and pipelines, master data, interoperability, quality, lineage, privacy and governance. The emphasis is postgraduate: students are expected not merely to identify technologies, but to evaluate design trade-offs and connect architecture decisions to business outcomes.
Learning objectives
By the end of this chapter, you should be able to:
distinguish ERP, WMS, TMS, OMS, telematics, IoT and external data sources;
design a conceptual logistics data model and an appropriate analytical pipeline;
explain master data, reference data, transactional data and event data;
assess interoperability, data quality, lineage, privacy and governance;
select suitable architectural patterns for batch and real-time logistics analytics; and
evaluate the managerial, ethical and operational consequences of data architecture decisions.
1. Logistics data as an organisational capability
Logistics data has at least four dimensions. Operational data records what is happening now, such as a pick confirmation or vehicle location. Analytical data is structured for comparison, aggregation and modelling. Master data describes relatively stable business entities, such as products, facilities, customers and carriers. Reference data supplies controlled classifications, such as country codes, transport modes, temperature bands and units of measure.
A useful distinction is between an entity and an event. An entity exists over time: a product, shipment, vehicle or location. An event records something that happened at a time and place: an order was placed, a pallet was received, a vehicle departed, or a delivery was signed. Event records are particularly important because logistics performance is fundamentally temporal. A shipment may have planned, scheduled, dispatched, arrived and delivered timestamps, each generated by a different system.
Data has value when it supports a decision. The relevant question is not simply “How much data do we have?” but “Which decision does this data improve, at what time, and with what confidence?” Excessive collection can raise cost and privacy risk without improving decisions. Conversely, inadequate event capture makes it impossible to explain service failures or reconstruct inventory movement.
2. The principal logistics information systems
Enterprise resource planning
An ERP system integrates enterprise-wide processes, commonly including procurement, finance, sales, inventory valuation, production and human resources. In logistics, ERP is often the authoritative source for purchase orders, sales orders, suppliers, customers, material valuation and accounting postings. Its strength is transactional control and financial integration. Its limitation is that it may represent warehouse and transport activity at a relatively coarse level or with delays.
Warehouse management systems
A WMS manages warehouse execution: inbound receiving, put-away, slotting, replenishment, picking, packing, cycle counting, loading and sometimes labour management. It typically records license plates, handling units, bin locations, task assignments and scan events. WMS data is granular and operationally immediate, but local configuration differences can make comparisons across sites difficult.
Transportation management systems
A TMS supports load planning, carrier selection, tendering, route and appointment planning, freight rating, documentation, tracking and freight settlement. It provides planned and actual transport milestones. A TMS is not necessarily the authoritative source for physical inventory, and a carrier’s tracking platform may contain more timely location information than the shipper’s TMS.
Order management systems
An OMS coordinates demand across sales channels and determines how orders are promised, allocated, split, back-ordered and fulfilled. It links customer demand to inventory and fulfilment decisions. In omnichannel networks, the OMS may decide whether an order is supplied from a distribution centre, store, supplier drop-ship location or marketplace partner.
Telematics and IoT
Telematics combines vehicle or equipment data with communications and positioning. Typical observations include latitude, longitude, speed, ignition state, fuel level, engine diagnostics and driver events. IoT devices extend sensing to pallets, containers, shelves, cold rooms and products. Sensors may record temperature, humidity, shock, light exposure or door opening.
Sensor data presents distinctive architectural issues. It can be high-volume, noisy, irregularly sampled and dependent on device calibration and connectivity. A temperature reading without a sensor identifier, unit, timestamp, time zone and calibration status is not a reliable business fact.
External data
External sources include weather, traffic, port congestion, customs information, carrier APIs, market prices, geospatial data, economic indicators and customer-provided delivery constraints. Such data can improve prediction, but its licensing, update frequency, geographic coverage and accuracy must be evaluated. External data should not be treated as authoritative merely because it is delivered through an API.
Source
Typical data
Main analytical use
Common limitation
ERP
orders, suppliers, costs, inventory value
financial and supply planning
slower or less granular execution data
WMS
scans, bins, tasks, handling units
warehouse productivity and traceability
site-specific configuration
TMS
loads, routes, freight, milestones
transport planning and performance
dependence on carrier updates
OMS
promises, allocations, fulfilment status
service and channel analytics
complex order splitting
Telematics
position, speed, vehicle state
ETA, utilisation, safety
connectivity and device quality
IoT
temperature, shock, humidity
condition monitoring
calibration and battery constraints
External
weather, traffic, ports, regulations
contextual prediction
uncertain ownership and stability
3. A reference architecture for logistics analytics
A robust architecture separates operational execution from analytical consumption while maintaining traceability between them. A typical pattern contains six logical layers:
Figure: A reference architecture separating source systems, data engineering, governance and analytical use.
This is a logical architecture, not a prescription for a particular vendor. A small organisation may implement several layers on one platform; a multinational may require regional platforms and federated governance. The essential principles are separation of concerns, controlled interfaces, preserved raw evidence and explicit ownership.
Batch, streaming and hybrid pipelines
Batch pipelines move data at intervals. They are appropriate for daily financial reconciliation, historical reporting and sources that provide files overnight. Streaming or event-driven pipelines process records as they arrive and are useful for vehicle alerts, temperature excursions and real-time inventory visibility. A hybrid architecture is common: streaming supports immediate intervention while batch processing performs authoritative reconciliation.
Pipeline design should address idempotency, ordering, late arrivals, duplication and failure recovery. An idempotent process produces the same result when the same message is received more than once. This is essential because network retries can duplicate events. Event time—the time an event occurred—should be distinguished from processing time—the time the platform received it. A late temperature reading should be assigned to its event time for analysis, while its delay may itself be monitored as a data-quality issue.
4. Data modelling for logistics
A conceptual model identifies entities and relationships before implementation. Core entities commonly include Customer, Supplier, Product, Location, Facility, Order, Order Line, Shipment, Handling Unit, Vehicle, Carrier, Route, Inventory Balance and Event.
A shipment may contain several handling units; an order may be split across shipments; a handling unit may contain multiple products; and a vehicle may execute several planned stops. These relationships should not be hidden in a single wide table. Analytical models often use a star schema with fact tables and dimensions.
A fact table records measurable events or states, such as shipment milestones, order lines, inventory snapshots or warehouse tasks. Dimension tables provide descriptive context, such as product, customer, location, carrier and calendar. A shipment-milestone fact might contain shipment key, milestone key, location key, event timestamp, planned timestamp, quantity and source-system identifier.
The grain must be stated explicitly. For example, “one row per shipment per milestone occurrence” differs from “one row per shipment.” Mixing grains causes double counting. If freight cost is stored at shipment level but joined to three order lines, a naïve sum may report the cost three times. Allocation rules must therefore be documented, such as allocation by weight, volume, order value or an agreed commercial rule.
For event data, a minimum event structure should include:
globally or locally unique event identifier;
event type and schema version;
business key, such as shipment or handling-unit ID;
event time and time zone or UTC representation;
source system and ingestion time;
location and actor or device where relevant; and
quality, correction and lineage metadata.
Slowly changing dimensions are useful when historical context matters. If a customer changes its service tier, historical shipments should generally retain the tier applicable at the time, rather than being reclassified silently. The chosen treatment—such as preserving historical versions or overwriting attributes—must reflect the analytical question.
5. Data pipelines and interoperability
Interoperability has three levels. Syntactic interoperability means systems can exchange data in a readable format, such as JSON, XML, CSV or a message protocol. Semantic interoperability means exchanged fields have the same meaning; “delivery date” must not mean proof-of-delivery time in one system and planned arrival in another. Organisational interoperability concerns process, responsibility, contracts and authority: partners must agree who creates, corrects and approves a record.
Integration approaches include APIs for request-response access, event messaging for asynchronous notifications, managed file exchange for periodic bulk data, and change-data capture for replicating database changes. Standards such as GS1 identifiers and electronic data interchange can reduce ambiguity, but standards do not eliminate the need for local mapping and governance.
A canonical data model can provide a shared representation—for example, a common Shipment and Milestone model—while adapters translate each source into that representation. Canonical models improve consistency but can become overly complex and slow to change. A data-product or domain-oriented approach gives business domains responsibility for well-defined, documented datasets. In practice, large organisations often combine shared critical identifiers and definitions with domain ownership.
6. Master data and data quality
Master data management establishes trusted identifiers and attributes for key entities. Product master data may include SKU, description, dimensions, weight, packaging hierarchy, hazard classification, temperature range and units of measure. Location master data may include address, geocode, facility type, operating hours, dock characteristics and time zone.
Common quality dimensions are:
accuracy: agreement with the real-world object or event;
completeness: required values are present;
consistency: values do not conflict across records or systems;
timeliness: data is available when needed;
validity: values conform to permitted formats and ranges;
uniqueness: one real-world entity is not represented by unintended duplicates; and
integrity: relationships and keys remain valid.
A quality score should be tied to a decision and a defined population. For a mandatory field, completeness can be expressed as:
Completeness = (number of non-null required values ÷ number of records assessed) × 100%
The formula assumes that records are sampled or selected appropriately and that “non-null” does not automatically mean meaningful. A field containing “unknown” may be technically populated but operationally incomplete. Similar metrics can be defined for valid, unique or timely records, but thresholds should reflect business risk.
Data-quality management is a control cycle: profile data, define critical attributes, set rules, monitor exceptions, assign ownership, remediate root causes and prevent recurrence. A dashboard showing 98% valid addresses is less useful than an exception workflow that corrects the two percent preventing delivery.
7. Lineage, metadata and observability
Metadata describes data: field definitions, data types, units, owners, update frequency, permissible values and sensitivity classification. A business glossary explains terms such as “available inventory,” “on-time in-full” and “delivery attempt.” A technical catalogue records tables, schemas, pipelines and dependencies.
Data lineage traces data from origin through transformations to consumption. For a delivery-performance metric, lineage should identify the source milestone, time-zone conversion, exclusion rules, late-arrival treatment and aggregation logic. Lineage supports audit, debugging, impact analysis and trust. It also exposes hidden dependencies—for example, a dashboard may depend on a carrier field that is no longer populated.
Observability extends monitoring beyond infrastructure uptime. It examines freshness, volume, schema changes, distribution shifts, null rates, duplicate rates and reconciliation with source totals. A pipeline can be “green” operationally while delivering a complete but semantically wrong dataset. Monitoring should therefore include business controls, such as reconciling received quantities to inventory movements within defined tolerances.
8. Privacy, security and governance
Logistics data may contain personal data, employee identifiers, driver behaviour, customer addresses, geolocation, commercial prices and security-sensitive facility information. Governance should apply principles of purpose limitation, data minimisation, access control, retention limitation, transparency and accountability. Legal requirements vary by jurisdiction; organisations must assess applicable data-protection, employment, customs and sector regulations rather than assume that one policy applies everywhere.
Security controls include encryption in transit and at rest, strong identity management, role- or attribute-based access, segregation of duties, secrets management, audit logs, vulnerability management and tested recovery procedures. Least privilege is especially important for telematics and warehouse systems because unnecessary access can expose both personal and physical-security information.
Governance is an operating model, not merely a committee. It should define data owners, stewards, custodians, approval processes, standards, issue escalation and consequences for non-compliance. Important policy questions include: Who owns the product dimensions? Which system is authoritative for a delivery milestone? How are corrections made without erasing the original evidence? How long should raw location data be retained? When may analytics teams use driver-level data rather than aggregated data?
Ethical analysis is also required. Monitoring drivers can improve safety but may create intrusive surveillance or unfair performance comparisons when traffic, weather and loading delays are ignored. Automated allocation may disadvantage particular regions or carriers if historical data embeds bias. Explainability, contestability and human review are appropriate safeguards for high-impact decisions.
9. AI and contemporary developments
Machine learning can use integrated logistics data for ETA prediction, anomaly detection, demand forecasting and preventive maintenance. However, model quality depends on stable definitions, representative history and leakage prevention. If a model is trained using a delivery timestamp that would not be known at prediction time, its apparent accuracy is misleading. Feature lineage should therefore record not only where a variable came from, but when it became available.
Digital twins and knowledge graphs are developing approaches. A digital twin links physical assets, processes and states to analytical representations, while a knowledge graph represents relationships among shipments, facilities, products, events and constraints. Both can improve traceability and scenario analysis, but they require disciplined identifiers and semantics.
Edge processing can filter or analyse sensor data near the device, reducing bandwidth and response time. Data contracts—explicit agreements on schema, semantics, quality and change management—are increasingly used between producing and consuming teams. These developments do not replace governance; they make governance more necessary.
10. Illustrative case: cold-chain distribution redesign
Background
A fictional pharmaceutical distributor operates three regional distribution centres and uses an ERP, WMS, TMS and carrier-provided temperature sensors. Customers report occasional temperature excursions, but the organisation cannot determine whether they occur during storage, loading or transport.
Problem and analysis
The ERP contains shipment and product records, the WMS contains loading scans, the TMS contains planned and actual milestones, and sensor files contain temperature readings with inconsistent time zones. Shipment identifiers differ between two carriers. There is no shared event model, and the temperature dataset lacks calibration status. Analysts join records using approximate timestamps, producing contradictory conclusions.
Approach
The distributor establishes a master Shipment ID and maps carrier identifiers to it. It defines a canonical milestone vocabulary: packed, loaded, departed, arrived, delivered and returned. Every sensor record must include sensor ID, shipment ID, UTC event time, temperature, unit, calibration status and ingestion time. Raw files are retained unchanged; curated records are validated and linked to WMS and TMS events. A streaming alert is triggered when temperature exceeds the product-specific permitted range for a defined duration, while a daily batch process reconciles sensor coverage and shipment completion.
Access is restricted: customer service sees shipment-level status, quality assurance sees full sensor history, and managerial reports use aggregated carrier statistics. A lineage record documents each conversion, join and exclusion. Investigation teams can reconstruct the original evidence rather than relying solely on the alert output.
Outcome
The organisation can distinguish warehouse dwell from transport exposure, identify sensors with missing data, and assign corrective action to the responsible process. The architecture does not guarantee that excursions disappear; it makes them detectable, attributable and auditable.
Learning points
The case demonstrates that analytical value came from identifiers, event semantics, time handling, calibration metadata and governance—not from a dashboard alone. It also shows why real-time alerts and batch reconciliation should coexist.
11. Implementation guidance and limitations
A practical implementation should begin with high-value decisions and critical data elements rather than an attempt to integrate every source. Establish a data inventory, map ownership, define the grain of priority datasets, select authoritative sources, create shared identifiers and document business terms. Introduce quality rules at ingestion and monitor them in production. Preserve raw evidence, but apply retention and access controls so that “keep everything” does not become a privacy or cost failure.
Architecture choices involve trade-offs. Centralised platforms can improve consistency but may create bottlenecks. Federated ownership can improve domain expertise but may produce divergent definitions. Streaming provides speed but increases operational complexity. Cloud platforms offer elasticity but require careful cost, residency and vendor-dependency management. A lakehouse or warehouse is not inherently superior; fit depends on workload, skills, regulatory requirements and data volatility.
Common failure modes include treating a dashboard as a data strategy, copying source tables without semantics, allowing uncontrolled spreadsheet masters, ignoring time zones, joining facts at incompatible grains, and measuring quality only after a failure. Mature organisations connect architecture, process design, incentives and accountability.
Chapter Summary
Logistics data architecture connects operational systems, sensing technologies, external information and analytical applications. ERP, WMS, TMS and OMS support different business processes, while telematics and IoT provide time-sensitive physical observations. A layered architecture separates sources, ingestion, storage, transformation, semantics and consumption, and supports both batch and streaming use cases.
Reliable analytics requires explicit data models, shared identifiers, stated grain, event semantics, master-data management and controlled interoperability. Data quality must be measured across accuracy, completeness, consistency, timeliness, validity, uniqueness and integrity. Metadata, lineage and observability make transformations explainable and problems diagnosable. Privacy, security, ethical use and governance must be designed into the architecture. AI and digital-twin applications increase the value of integrated data but do not remove the need for sound definitions and controls.
Key Terms
Master data: Relatively stable data describing core entities such as products, customers and locations.
Reference data: Controlled codes and classifications used consistently across systems.
Transactional data: Records generated by business transactions such as orders, receipts and invoices.
Event data: Records of occurrences at a particular time, place or process stage.
ERP: Enterprise system integrating processes such as procurement, finance and inventory.
WMS: System managing warehouse execution and inventory movements.
TMS: System supporting transport planning, execution, tracking and settlement.
OMS: System coordinating orders, promises, allocation and fulfilment.
Telematics: Vehicle or equipment data transmitted through communication networks.
IoT: Networked devices and sensors that capture and exchange data.
Data pipeline: Controlled sequence that moves and transforms data.
Data lakehouse: Platform pattern combining flexible raw storage with governed analytical structures.
Data grain: The precise unit represented by one record in a dataset.
Interoperability: Ability of systems and organisations to exchange and use data meaningfully.
Data lineage: Trace of data from source through transformations to use.
Data quality: Fitness of data for a defined purpose.
Data steward: Person responsible for operational management of data definitions and quality.
Event time: Time when an event occurred, distinct from processing time.
Idempotency: Property whereby repeated processing produces the same intended result.
Data contract: Explicit agreement on a dataset’s schema, semantics, quality and change rules.
Review Questions
Short Answer Questions
What distinguishes master data from event data in a logistics context?
State two important functions of a WMS and two functions of a TMS.
Why must the grain of an analytical fact table be documented?
Define data lineage and identify one managerial benefit.
What is the difference between event time and processing time?
Long Answer Questions
Explain a layered reference architecture for logistics analytics and discuss the role of each layer.
Compare batch, streaming and hybrid pipelines for logistics applications.
Discuss the dimensions of data quality and propose a quality-management cycle.
Explain syntactic, semantic and organisational interoperability, using logistics examples.
Evaluate the privacy, security and ethical issues associated with telematics and IoT data.
Analytical / Application Questions
A company joins shipment-level freight cost to order-line data and reports costs three times too high for some shipments. Diagnose the modelling error and propose a corrected design.
Design the minimum event schema for a real-time cold-chain temperature alert. Justify each field and identify two quality controls.
A carrier API changes “delivered date” from local time to UTC without notice. Explain how metadata, contracts, observability and lineage should help detect and manage the incident.
Multiple Choice Questions with Answers
Question 1
Which system is primarily responsible for warehouse execution activities such as picking, put-away and cycle counting?
A. ERP
B. WMS
C. TMS
D. OMS
Correct Answer: B. WMS
Question 2
Which statement best describes semantic interoperability?
A. Systems use the same network protocol
B. Systems exchange data through files only
C. Systems assign the same meaning to exchanged fields
D. Systems are operated by the same department
Correct Answer: C. Systems assign the same meaning to exchanged fields
Question 3
In an analytical fact table, what does grain specify?
A. The encryption method used
B. The precise business unit represented by one row
C. The storage cost per record
D. The number of source systems
Correct Answer: B. The precise business unit represented by one row
Question 4
Which practice helps prevent duplicate results when a message is received more than once?
A. Idempotent processing
B. Increasing screen resolution
C. Removing event identifiers
D. Disabling retries
Correct Answer: A. Idempotent processing
Question 5
Which is an example of reference data?
A. A customer’s order placed yesterday
B. A vehicle’s current latitude
C. A controlled list of transport modes
D. A warehouse picking event
Correct Answer: C. A controlled list of transport modes
Question 6
A temperature record lacks a unit, timestamp and sensor identifier. Which conclusion is most appropriate?
A. It is automatically accurate
B. It has insufficient context for reliable interpretation
C. It should be treated as financial data
D. It proves a temperature excursion
Correct Answer: B. It has insufficient context for reliable interpretation
Question 7
Which quality dimension concerns whether required values are present?
A. Completeness
B. Uniqueness
C. Timeliness
D. Accuracy
Correct Answer: A. Completeness
Question 8
What is the main purpose of data lineage?
A. To increase vehicle speed
B. To trace data from origin through transformations to use
C. To replace all source systems
D. To eliminate access controls
Correct Answer: B. To trace data from origin through transformations to use
Question 9
Which architecture is most suitable when immediate temperature-excursion alerts and daily financial reconciliation are both required?
A. Batch-only architecture
B. Streaming-only architecture
C. Hybrid architecture
D. Spreadsheet-only architecture
Correct Answer: C. Hybrid architecture
Question 10
Which governance principle limits collection and use of personal data to what is necessary for a defined purpose?