← All guides

Schema Changes After a Hotfix: Keeping Replication in Sync Across Stores

Data, integrations & replication · 7 min read · By Dex Carter · Published 2026-10-26 · Last updated 2026-10-26

Three buildings in descending size, each with a crate of blocks out front and a cart carrying a crate between them
The same crate, delivered tier by tier.

Two rollouts hide inside every schema-affecting hotfix. The first installs objects and schema. The second moves data. Update Service handles the first and states the boundary plainly: it does not perform data replication like Data Director, it is based on packages. Treat the hotfix as one job and the second rollout never gets planned: stores end up running a new schema against replication state built for the old one. The checklist below keeps the two apart, tier by tier.

The mistake: treating a hotfix as one rollout instead of two

A package can finish cleanly on every database while replication still breaks, because replication depends on more than the objects being present. It depends on the replication designs and subjobs that reference those objects, and on timestamp state that tells the system what has already been sent. None of that is installed by an objects package.

So the plan has two halves with a hard line between them. Half one: get the schema change onto head office, store, and POS databases, in that order, so no tier is asked to receive data shaped for a schema it does not yet have. Half two: reconcile the replication side, designs, subjobs, timestamp state, and only then resume jobs. Skipping half two is how a successful upgrade produces a silent data gap.

What the hotfix actually changes: objects, schema, and replication state

Three evidenced items show the range of what a hotfix can touch:

ItemWhat changedWhy replication cares
LSC Wish List Line key (27.1 → 28.0 upgrade)Version 28.0 introduced a unique key, ItemAndVariantUOM, on the LSC Wish List Line table; existing data could contain duplicates, Sync-NAVApp failed, and the Unique property was removed so the upgrade completesA schema change can be blocked by the data itself, the table’s existing rows decide whether the new key can exist
Hotfix 70807, Data Distribution Buffer Fix (26.1)Replication using timestamp was fixed to contain all data to be replicatedTimestamp-based replication had been capable of missing data, the buffer, not the connection, was the fault
Hotfix 71552, Data Distribution Log Fix (26.1)Previous Last Timestamp in Scheduler Log Lines was correctedThe recorded timestamp is the system’s memory of what was sent; a wrong value rewrites that memory

Hotfix pages also list schema- and event-affecting changes per release, such as downgraded SCO modification web services and new integration events. The inventory in the next phase comes from those pages, not from the assumption that a hotfix is “just code.”

Checklist phase 1: inventory the schema-affecting line items

  1. Read the hotfix page for the exact release being applied. Mark every line item that adds or changes a table, a key, or a field, the Wish List Line key is the model: a single unique key was enough to fail an upgrade.
  2. Mark the replication-state items separately. Any item naming Data Distribution, replication by timestamp, or Scheduler Log Lines, 70807 and 71552 are the examples, goes on the replication list, not the schema list. The two lists get verified differently.
  3. Check the data against new keys before applying. Where a hotfix introduces a unique key, check the affected table for duplicates first; the 27.1 to 28.0 failure happened because existing data could contain them and Sync-NAVApp failed on the result.
  4. Record the deployment constraints. Update Service only supports publishing apps in Global scope and does not support multi-tenant Business Central setups. If the estate matches either limit, the package plan changes before anything is applied.

Checklist phase 2: apply per tier, head office, stores, POS

  1. Build the objects package. To install or update objects in a database, create an objects package and include it in a bundle package, that is the Update Service mechanism, built from packages of PowerShell scripts and installation files.
  2. Apply at head office first. Verify the schema-affecting items from phase 1 are present and the application opens against the new schema before any store is touched.
  3. Apply to store databases next, one tier at a time. Each store must carry the same schema change before it is asked to receive replicated data shaped by it.
  4. Apply to POS databases last. The POS tier is the end of the chain; it takes the change after the tiers that feed it are confirmed.
  5. Hold replication jobs while tiers diverge. A job that runs between tiers is a job sending new-schema data at an old-schema destination. Jobs resume in phase 4, not during the rollout.

Checklist phase 3: reconcile replication designs and subjobs

With every tier on the same schema, walk the replication side before any job runs. Designs and subjobs that touch a changed table need to match the new shape of that table, a changed key or field is exactly the kind of change a design built against the old table does not absorb on its own.

Then check timestamp state explicitly. Hotfix 71552 corrected the Previous Last Timestamp recorded in Scheduler Log Lines, and 70807 fixed replication-by-timestamp buffering so it contains all data to be replicated. Together they make the operational point: after a hotfix, the recorded timestamp is a value to verify, not a value to trust. If the recorded Previous Last Timestamp sits ahead of the last data actually received at a destination, timestamp replication has a gap to close before normal runs resume.

Checklist phase 4: resume jobs and watch the first runs

  1. Resume jobs per tier, in the same order the schema was applied: head office, stores, POS.
  2. Watch the first run of each job after the hotfix instead of scheduling and walking away, the first run is where a missed design or a wrong timestamp shows itself.
  3. Confirm data, not just job completion, at one destination per tier: a record changed at head office after the hotfix should be visible at the store and POS tiers.

What success looks like: every tier reports the same schema for the changed tables, the first post-hotfix runs complete, the Scheduler Log Lines timestamp advances from a verified value, and a test change made at head office after the hotfix is present at store and POS. Anything less is a rollout that finished installing, not one that finished syncing.

Verification: proving every tier runs the same schema

Close the checklist with a per-tier comparison, recorded rather than eyeballed: for each table named in phase 1, the same key and field structure at head office, at a store, and at a POS database; for each replication item, a Scheduler Log Lines timestamp that matches what the destination actually received. The Wish List Line case is the cautionary example for the whole exercise, the schema change itself was small, one unique key, and it still decided whether the upgrade completed at all. Small changes get the full checklist because small changes are the ones that slip through without one.

, Dex Carter, Tech Writer

Keep readingNext: Replication is falling behind: diagnosing Data Director lag between head office and stores →