ST Freight Systems Architecture Guides
Guide 03 · Legacy TMS Diagnostics & Cutover Engineering

Stabilize, Optimize, or Exit: An 18-Year Carrier Field Guide to Legacy TMS Bottlenecks

Author: Scott Elliott (Strong Tower Consulting, LLC, Est. 2008) Scope: SQL Server, SAP ASE (Sybase), IBM Db2 & Carrier Cutover Governance

A slow 8:00 a.m. dispatch board is an operating symptom, not a diagnosis. Replacing a Transportation Management System before isolating database contention, reporting coupling, and master-data drift relocates operational debt into a higher recurring subscription.

Canonical Source: https://strongtoweronline.com/insights/legacy-tms-exit-guide Full Stabilize / Optimize / Exit Methodology →

1. Objective Three-Path Engineering Decision Matrix

Path Objective Technical Triggers Core Engineering Scope Risk & Runway
1. Stabilize Supported core TMS impaired by blocking locks, live reporting contention, backup gaps, or fragile EDI/ELD links. Isolate reporting onto read replica; clear lock chains; test restores; harden EDI 997/214/210 queues; close MFA gaps. Lowest disruption. Restores predictable daily dispatch and billing rapidly.
2. Optimize Core TMS (including mature TruckMate®, McLeod®, or structured SQL installs) fits operations but lags 2–3 releases with spreadsheet sprawl. Controlled version upgrade; deduplicate customer/location masters; automate weekly EIA fuel tables; retire redundant custom SQL; retrain floor roles. High capital efficiency. Unlocks 3–5+ years of clean runway without cutover risk.
3. Exit Structural red lines: EOL OS/DB security exposure, vendor sunset, single-person undocumented code, M&A multi-entity conflicts, or hard shipper EDI/API gaps. Document floor requirements; vendor-neutral selection; immutable migration evidence ledger; 2+ parallel payroll/billing runs; rehearsed cutover & rollback. Highest complexity. Justified only when structural limits outweigh transition risk.

2. Five Forensic Checks & Post-Load Database Profiling Blueprint

  • Trace exact failing screen workflows: Capture execution plans, blocking chains, and waits through native engine diagnostics. Never apply blanket NOLOCK hints on financial or payroll reports.
  • Isolate reporting from OLTP dispatch: Relocate Crystal Reports, BI dashboards, and ODBC links off the live dispatch server onto a read replica or nightly extract.
  • Profile engine behavior across conversions: Audit database collation, single-space empty strings (common when migrating SAP ASE / Sybase to SQL Server), and unenforced foreign-key orphans.
  • Audit static fuel ceilings & master duplicates: 2026 EIA diesel ($3.459 to $6.529/gal nationally; $8.246/gal CA) exposed hard-coded $5/$6 lookup tables unrelated to platform viability.
  • Classify shadow spreadsheets honestly: Distinguish genuine platform capability gaps from training drift after staff turnover.
-- Sanitized read-only post-load profiling blueprint (SQL Server syntax; adapt to target schema)
SELECT DATABASEPROPERTYEX(DB_NAME(), 'Collation') AS DatabaseCollation;

SELECT 'Customer.Name single-space values' AS CheckName, COUNT(*) AS AffectedRows
FROM dbo.Customer
WHERE DATALENGTH(Name) = 1 AND Name = ' '
UNION ALL
SELECT 'Orders missing parent Customer key', COUNT(*)
FROM dbo.Orders AS o
LEFT JOIN dbo.Customer AS c ON c.CustomerId = o.CustomerId
WHERE c.CustomerId IS NULL
UNION ALL
SELECT 'TripLegs missing parent Order key', COUNT(*)
FROM dbo.TripLeg AS l
LEFT JOIN dbo.Orders AS o ON o.OrderId = l.OrderId
WHERE o.OrderId IS NULL;

3. Migration Evidence Ledgers & Parallel Payroll Protection

  • Reconcile at business grain, never whole-table row counts: Freeze extraction checksums and match counts and dollars by company/entity, terminal, status, currency, and accounting period across open orders, delivered-unbilled loads, open A/R, carrier A/P, and driver escrow.
  • Quarantine rejects transparently: Log every failed row with its violated rule, source key, owner, and signed disposition instead of forcing silent default substitutions.
  • Run at least two full parallel driver settlement & EDI 210 cycles: Reconcile every driver and owner-operator settlement statement to the penny and test outbound EDI 210 batches against partner test endpoints before locking a cutover date, backed by single-system authority rules and explicit rollback abort triggers.