Muon SolutionsSearch services, guides and toolsBook a callMenu

Type 2 or more letters. Press Enter to open the first result, Esc to close.

RS-63ResourcesIntegration and applications

Connecting a TMS, a WMS and an ERP, and where each record should live

Which system owns orders, inventory, rates and invoices, the 7 flows that keep the copies current, and what to plan for go-live and for an outage.

Guide17 minute read

  • Integration
  • Logistics

Key points

  • The ERP owns customers, items, invoices and the general ledger, the WMS owns stock by location and lot, and the TMS owns loads, rates and status events.
  • 7 flows connect the 3 systems: master data, inbound receipts, outbound orders, inventory adjustments, shipment planning, status events and freight charges.
  • Go live in this order: master data, inbound receipts, outbound orders, shipment planning and status, then freight charges on day 1 of a fiscal period.
  • Public TLS certificates have been limited to 200 days since March 15, 2026 and to 100 days from March 15, 2027, so each HTTPS endpoint an interface uses needs a named person who renews its certificate.

Which system should own orders, inventory, rates and invoices?

Give each record 1 owning system. The ERP owns customers, items, prices, invoices and the ledger. The WMS owns stock by location, lot and serial number. The TMS owns loads, stops, rates and status events. Every other system holds a read-only copy, and 7 flows keep the copies current.

TMS
Transportation management system: software for planning, dispatching, tracking and rating freight. Trimble TMW.Suite and the products from McLeod Software are 2 examples.
WMS
Warehouse management system: software that directs receiving, picking and shipping, confirmed by scans. Infios (formerly Körber Supply Chain Software) is 1 vendor.
ERP
Enterprise resource planning system: orders, purchasing, receivables, payables and the general ledger.
System of record
The 1 system where a record is created and changed.
EDI and X12
Electronic data interchange is the exchange of structured business documents between companies. X12 is the North American standard, and each document type has a number.
3PL
Third-party logistics provider: a company that stores or moves goods for other companies.
The owning system for 11 kinds of record, and what the other systems hold.
RecordSystem of recordWhat the other systems hold
Customer account, credit terms, tax codesERPTMS and WMS: a copy keyed by the ERP customer number, and a credit hold flag.
Item number, description, units of measure and conversion factors, lot or serial tracking, cost, priceERPWMS: a copy. It cannot create an item or change a conversion factor.
Measured case and pallet dimensions, weight, storage and pick rulesWMSERP and TMS read weight and dimensions.
Sales order and purchase orderERPWMS: the lines to pick or receive. It cannot add a line or change a price.
Stock on hand by location, lot, serial number and statusWMSERP: a total per item, warehouse and status. Inventory value stays in the ERP.
Load, stops, appointments, status events, proof of deliveryTMSERP: the load number and delivered date. WMS: the carrier and pickup appointment.
Carrier profile, insurance expiry, lanesTMSERP: the carrier as a vendor. Bank details are entered in the ERP only.
Freight rates charged to customers and paid to carriers, fuel surcharge tables, accessorialsTMSERP: rated charge lines, and no rate tables.
Customer invoice and receivableERPTMS and WMS supply the charges and store the invoice number.
Carrier payable and driver payTMS calculates. ERP or payroll pays.ERP: the approved amount and the payment.
Vehicle positions, fault codes, driver hoursTelematics or electronic logging device (ELD) platformTMS: the last position, arrival events and hours available to drive.

Item data is split by field. Write the split down, because both the ERP and the WMS can hold a case weight. The table describes a distributor.

Key facts and dates, as of December 2026

Dated facts that affect a TMS, WMS and ERP integration, as of December 2026.
ItemWhat the source saysWhat to doSource and date
What 3PLs offer87% of 3PLs surveyed offer a TMS, 73% ERP integration and 72% a WMS or WES (warehouse execution system).Ask a 3PL which interface it supports for your ERP.Inbound Logistics, 2026 3PL market research report, July 2026
X12 documents between these systemsWarehouse: 940 Warehouse Shipping Order, 945 Warehouse Shipping Advice, 943 and 944 for stock transfers, 947 Warehouse Inventory Adjustment Advice, 846 Inventory Inquiry/Advice, 856 Ship Notice/Manifest. Freight: 204 Motor Carrier Load Tender, 990 Response to a Load Tender, 214 Transportation Carrier Shipment Status Message, 210 Motor Carrier Freight Details and Invoice.Use the numbers when you ask a partner which documents it supports.X12 transaction set list, read December 4, 2026
Public TLS certificate lifetime200 days since March 15, 2026. 100 days from March 15, 2027. 47 days from March 15, 2029.An expired certificate stops every message on an HTTPS connection. Name the person who renews each one.DigiCert, May 16, 2025, reporting the CA/Browser Forum vote
Platform supportSupport ended for Dynamics NAV 2016 on April 14, 2026 and for SQL Server 2016 and Dynamics GP 2016 on July 14, 2026. It ends for Dynamics NAV 2017 on January 11, 2027 and for Windows Server 2016 on January 12, 2027.Upgrade before you build an interface on any of them.Microsoft Lifecycle lists for 2026 (updated August 19, 2026) and 2027
ELD certification in CanadaTransport Canada lists each certified ELD with its certification body and status, active or revoked. Version 1.3.1 of the technical standard was made public on July 29, 2026, with a transition period.Find your device on the list. Retest the status feed (flow 6) after an ELD update.Transport Canada, read December 4, 2026
Third parties in breachesA third party was involved in 48% of the breaches in the report.List every vendor account and vendor-run interface that reaches the 3 systems. A vendor risk process a mid-sized company can run covers the review.Verizon, 2026 Data Breach Investigations Report, May 19, 2026

Does the answer change for a distributor, a 3PL and a carrier?

3 records change: the order, the item and the invoice. Stock by location stays in the WMS and loads stay in the TMS.

Where the order and the item are created and where the invoice starts, by type of business.
BusinessWhere the order is createdWhere the item is createdWhere the invoice starts
Distributor that owns its stockThe ERP, as a sales order.The ERP.The ERP invoices from the WMS ship confirmation. Freight charges come from the TMS.
3PL warehouse holding clients' stockThe client's own system. The WMS receives it by EDI 940, API or portal entry.The client's system. The WMS holds a separate item list for each client.The WMS counts billable activity (pallets received, lines picked, pallets stored) and sends charge lines to the ERP. The 3PL's ERP carries no value for the stock.
Carrier or freight brokerThe TMS, from an EDI 204 tender or an order keyed by customer service.No item list. Commodity, pieces and weight are fields on the load.The TMS rates the load at delivery. The ERP posts the receivable.

A carrier with no warehouse has no WMS, so flows 2, 3 and 4 in the next section drop out.

The 7 flows between the 3 systems

The connections between a TMS, a WMS and an ERP fall into 7 flows. Number them, and use the numbers in vendor contracts, monitoring alerts and the outage plan.

  1. ERPCustomer, item, order
  2. WMSReceive, pick, ship confirm
  3. TMSPlan, dispatch, status, rate
  4. ERPInvoice, payable, ledger
The 7 flows, their direction and the X12 document used between companies.
FlowDirectionWhat movesX12 document
1. Master dataERP to WMS and TMSCustomers, ship-to addresses, items, units of measure, carriers, credit hold.Usually a file or an API
2. Inbound receiptsERP to WMS, then backThe expected receipt. Then the confirmed quantity, lot and damage.856 or 943 in, 944 back
3. Outbound ordersERP to WMS, then backThe released order. Then the ship confirmation: quantities, lots, pallets and load number.940 in, 945 back
4. Inventory adjustmentsWMS to ERPCount differences, damage, quality holds and a daily on-hand total per item.947 and 846
5. Shipment planningWMS or ERP to TMS, then backWeight, pallets and ready time. Then the carrier, load number and pickup appointment.204 to the carrier, 990 back
6. Status and proof of deliveryTelematics to TMS, then TMS to ERP and customerPicked up, arrived, delivered, exceptions and the signed delivery document.214
7. Freight charges and settlementTMS to ERPRated customer charges, carrier cost accruals, approved payables and driver pay.210

The X12 documents apply when the 2 systems belong to different companies. Inside 1 company, an API or a file carries the same fields.

EDI or API for connecting to customers and carriers compares the 2 methods for the flows that leave your company.

Which flows need real time, and which can run as a batch?

Flows that release physical work or that a customer watches run as events, within minutes. Freight charges run as a daily batch, after someone has audited them.

Timing for each of the 7 flows, and the reason.
FlowTimingReason
1. Master dataOn save, or every hourA new item or ship-to must arrive before the first order that uses it.
2. Inbound receiptsEvent when the receipt closesSales can promise the stock on the same shift.
3. Outbound ordersEvent, within minutes each wayA late ship confirmation delays the customer's ship notice and the invoice.
4. Inventory adjustmentsEvents, plus a total after the last shiftThe nightly total finds drift between the WMS and the ERP.
5. Shipment planningEventThe dock needs the carrier and appointment before it stages freight.
6. Status and proof of deliveryEventSome customers score carriers on how soon status messages arrive.
7. Freight charges and settlementDaily batch after auditCharges change until the proof of delivery and accessorials are checked.

4 rules apply to every flow.

  • Every message carries its own ID and the owning system's record number. A receiver that sees the same ID twice processes it once.
  • Every message gets an answer: accepted, or rejected with a reason. An X12 997 Functional Acknowledgment confirms that a file arrived and could be read. Acceptance of the order is a separate message. For a load tender, that message is the 990.
  • A failed message is retried, then placed in a reject queue that a named person checks every shift.
  • Once a day, a count compares the 2 ends: orders sent against orders acknowledged, ship confirmations against invoices, and on-hand totals by item.

Avoid writing directly into another vendor's database tables. Vendors rarely support it, and an upgrade can rename the columns. 4 ways to connect an ERP to your other systems covers the supported methods.

Where do scanner and telematics feeds connect?

Scanners connect to the WMS and telematics connects to the TMS. The ERP receives the results through flows 3 and 6.

Handheld scanners, forklift terminals, label printers and scales are WMS devices. Warehouse Wi-Fi for scanners, forklifts and voice picking covers the network those devices need.

A telematics platform, such as Geotab or ISAAC Instruments, owns position history, fault codes and hours-of-service records. Settle 3 things before the feed is built.

  • Which events become customer status messages. Arrival inside a geofence can draft an arrived status. Delivered needs the driver's confirmation and a signature or photo.
  • What the TMS stores: the last position, arrival and departure events, and hours available to drive. Position history stays in telematics.
  • Who keeps the truck and driver lists matched. The unit number in the TMS must equal the vehicle name in telematics.

A new device or app version can change the fields in the feed, so retest flow 6 after each ELD update.

Cross-border carriers have 1 more feed. The Canada Border Services Agency (CBSA) accepts advance commercial information by EDI or through its eManifest Portal (page modified May 12, 2026). Decide whether the TMS sends it or a dispatcher keys it.

Where do customer portals and reports read from?

A customer portal reads from the TMS and the WMS through an API or a read-only copy. Reports that cross systems read from a separate reporting database. Neither owns a record.

Customer portals

  • An order entered in the portal passes the same validation as an EDI order and lands in the system that owns orders.
  • Each login is limited to its own customer number on the server. Test it: sign in as customer A and request an order number that belongs to customer B. Keep the result for customer security questionnaires.
  • Portal accounts are named, use multi-factor authentication and are removed when the customer's contact leaves.

The reporting database

Margin per order including freight, and cost per pallet shipped, each need data from 2 or 3 systems. Load a reporting database from all 3 every night and build those reports there.

  • The customer number, item number, order number and load number are stored in every system, so the tables join.
  • Each measure has a written definition. On time is measured against the appointment or against the requested date. Choose 1.

In what order should the connections go live?

Go live in the order the data depends on. The durations are a planning example for 1 warehouse and 1 fleet.

  1. Write the ownership table and field mapping

    Fill in the system-of-record table for your company. The controller, the warehouse manager and the dispatch manager sign it.

    1 to 2 weeks

  2. Clean the master data

    Remove duplicate customers and items. Agree 1 unit of measure table with conversion factors for each, case and pallet.

    2 to 6 weeks

  3. Flow 1: master data

    From this date, customers and items are created in the ERP only. Run the flow alone until a week passes with no rejects.

    2 weeks

  4. Flow 2: inbound receipts

    No customer is waiting on a receipt. Receipts prove the item and unit of measure mapping.

    2 weeks

  5. Flows 3 and 4: outbound orders and adjustments

    Start with 1 customer or 1 order type. Each day, compare every order with the old process: quantities, lots and invoice total.

    2 to 4 weeks

  6. Flows 5 and 6: shipment planning and status

    Connect the WMS and the TMS, then telematics events, then the status messages customers receive.

    2 to 4 weeks

  7. Flow 7: freight charges and settlement

    Run in parallel for 1 period while the controller reconciles it. Switch on day 1 of the next fiscal period.

    1 to 2 periods

Build the portal and the reporting database after flow 7. Keep 4 dates out of the cutover calendar: peak season, the last week of a fiscal period, the week of a physical count, and any week when a vendor upgrades 1 of the 3 systems.

What breaks first after go-live?

Units of measure and late master data can fail on the first order. The other 8 failures in this table wait for a retry, a split shipment, a patch or a period end. Test for all 10 before go-live.

10 failures to expect, with the control for each.
FailureHow it shows upControl
Units of measureThe ERP orders 10 cases and the WMS picks 10 eaches.1 conversion table owned by the ERP. Test an order in every unit.
Late master dataAn order is rejected for an unknown item or ship-to.Retry rejected orders after 15 minutes, then alert.
Duplicate messagesAfter a retry, an order ships twice or an invoice posts twice.The receiver checks the message ID first.
Short picks and splitsShip confirmation lines do not match order lines.Confirm by order line. Test a partial, a zero ship and an order split over 2 loads.
Changes after releaseCustomer service edits an order the warehouse is already picking.The ERP locks the order at release. A change is a request the WMS can refuse.
Time zones and cut-offsA midnight shipment lands in the wrong period.Store every time with its zone. The controller writes the cut-off rule.
Expired certificates and keysEvery message on 1 connection fails at once.A register of expiry dates, an alert 30 days ahead and a named owner.
A vendor update1 flow stops the morning after a patch.Run 10 scripted transactions in the test environment first.
A silent stopNo errors and no messages, until a customer calls.Alert on absence: no ship confirmation for 60 minutes during a shift.
Inventory driftThe ERP promises stock the WMS does not have.The daily on-hand comparison, with a person who clears every difference.

15 minutes, 30 days, 10 transactions and 60 minutes are example values. Set your own.

What happens when 1 of the 3 systems is down?

Each system keeps working on the records it already holds, and the flows queue. The plan states what each team does by hand and how the queue is replayed.

What stops and the manual fallback when each system is down.
System downWhat stopsManual fallback
ERPNew orders, credit checks and invoices. The WMS still ships released orders.Queue ship confirmations and charges. Key urgent orders into the WMS from a reserved order number range and match them later.
WMSScanning, directed picking and labels. The ERP still takes orders.Pick on paper from a stock-by-location report saved outside the WMS at the start of each shift. Key lots and quantities in afterward.
TMSDispatch, tendering, status messages and rating. The warehouse still loads planned shipments.Dispatch from an open-load report exported every 4 hours (an example interval). Read positions in the telematics portal. Warn customers who score status messages.
The interfacesEvery flow. All 3 systems work alone.Queues hold the messages. Replay in this order: master data, orders, confirmations, charges.

A system restored from backup returns to an earlier time than the other 2. An ERP restored to 02:00 has lost every ship confirmation the WMS sent after 02:00.

Each flow therefore needs a resend by time range, and each receiver needs the duplicate check. Keep sent messages for longer than your recovery point objective, which RTO and RPO in plain terms explains how to set.

Outage preparation

5 things to do on Monday

  1. Copy the system-of-record table, replace the system names with yours and mark every record that 2 systems can edit today.
  2. List every connection, including the spreadsheets people upload by hand, and give each 1 of the 7 flow numbers.
  3. Compare on-hand quantity for 20 items between the WMS and the ERP, and the charges on 20 delivered loads between the TMS and the ERP invoices. The differences show which flow to fix first.
  4. Find the expiry date of every certificate and key the connections use, and name the person who renews each.
  5. Ask dispatch and the warehouse what they would do if their system were down for a full shift.

For each connection, fill in the 1-page runbook in 4 ways to connect an ERP to your other systems. The same guide has 8 questions to send to each vendor.

If you want the mapping, the build or the monitoring done for you, see ERP and business systems integration and IT for logistics and distribution.

Sources

  1. Inbound Logistics: 2026 3PL Perspectives market research report (July 2026)
  2. X12: Transaction sets (read December 4, 2026)
  3. DigiCert: TLS certificate lifetimes will officially reduce to 47 days (May 16, 2025)
  4. Microsoft Lifecycle: Products ending support in 2026 (updated August 19, 2026)
  5. Microsoft Lifecycle: Products ending support in 2027 (read December 4, 2026)
  6. Transport Canada: Electronic logging devices (read December 4, 2026)
  7. Transport Canada: List of certified ELDs (read December 4, 2026)
  8. CBSA: Advance Commercial Information and eManifest (modified May 12, 2026)
  9. Verizon: 2026 Data Breach Investigations Report (May 19, 2026)

Last reviewed December 2026. Written and reviewed by Muon Solutions staff.

Tell us what you want to fix or build

Book a 30-minute call. You speak with someone who does this work, and you get a 1-page written summary afterwards.

  1. We reply by email within 1 business day.
  2. A 30-minute call with someone technical.
  3. A written scope and a fixed price, if there is a fit.
Book a 30-minute callIncident