What to Replicate First at a New Store Opening: The Minimum Viable Data Set
Replicate everything first, then open. The plan sounds cautious. In practice it is the slowest route to a correct first sale, and it buries the small set of data the till actually needs under a long tail the new store can live without for a few days. A narrower question gives a better opening: what is the smallest set that makes the first sale correct, and in what order does the rest follow?
Two documented jobs frame the answer. LS Retail help states that COMMERCE_INIT needs to be run the first time and when a new store has been added, to prepare startup data for the new store, and that it does not need to be scheduled. Separately, the documented preload pattern sends head-office data to store servers and POS terminals with a Preload POS job, run from Tools > Replication > Job. Startup preparation and preload are different steps. Treating them as one big replication hides which step a missing price belongs to.
The misconception: replicate everything, then open
The everything-first plan has one real cost and one hidden one. The real cost is time: every extra table in the opening load is another job to run, watch, and debug before the doors can open. The hidden cost is diagnosis. When the opening load fails, a short load points at a short list of suspects. A total load gives the team a queue.
There is also a sequencing error inside the plan. Some data gates the first transaction. Some data gates the first lookup, the first member sale, or the first day of trading. The rest gates nothing on day one. Lumping all three groups into one pre-opening load means a failure in the third group can delay an opening that the first group had already made possible.
Short version: sequence by what each set unlocks, not by table name.
The first-sale set: data without which the till is wrong
LS Retail help gives a concrete starting list for a new company: retail items with prices and images, offers, member management, and stores and terminals. Read that list as a gate, not as background reading. Each entry maps to a failure a customer can trigger in the first hour:
- Retail items with prices. An item that reaches the till without its price makes the first sale a negotiation. Price belongs in the item data on the documented list, so a missing price is a first-sale defect, not a tidy-up task.
- Offers. An offer that exists at head office and not at the new store produces two prices for one basket, one per location. The documented general data includes offers for a reason.
- Member management. Clubs and schemes are part of the documented general data. A member sale on day one needs that setup present before the sale, not patched in after a queue of member transactions has already posted without it.
- Stores and terminals. The store and its terminals are themselves data on the list. A terminal that cannot identify its own store correctly is not a till with a small fault; it is a till pointed at the wrong destination.
That is the whole first-sale argument. If an entry on that list is missing, the store can open its doors and still be unable to sell correctly. Everything else has to argue its way into the opening load against that standard. The companion guide to how data routes between stores covers the routing side of the same chain.
The first-day set: what the statement and lookup need
Day one adds checks, not just data. The preload guidance names two tests after the first run: test logging in, and test inventory lookup. Neither test is decorative. A login test proves the terminal can be used by the person standing at it. An inventory lookup proves the terminal can answer the second question every new store gets on day one: have you got this, and where?
Mobile POS adds a device-level condition. Replication for Mobile POS starts when the app starts, and the Store ID and Terminal ID on the device must match Business Central. A mismatch is a first-day fault with a precise shape: the device can be present, powered, and connected, and still replicate against the wrong identity. Check the two IDs before blaming the network.
One default matters here. Full replication is on by default at first startup for Mobile POS, and switches off after the first successful replication. Day one is therefore the one day the device pulls the full set on its own. Plan the first startup deliberately, good connection, time to finish, instead of treating it as a casual app launch between other setup jobs.
The first-week set: history, images, and the long tail
The first-week set is defined by a negative: nothing in it can make a correct first sale wrong. Full sales history is the clearest member. The opening plan for this guide treats history as a first-week load, not a first-sale requirement, a new store has no trading past of its own to reconcile on day one, and loading history early only lengthens the jobs that gate the opening.
| Timing | Contents and checks | Gate it controls |
|---|---|---|
| First sale | Retail items with prices and images, offers, member management, stores and terminals | A correct first transaction |
| First day | Login test, inventory lookup test, Mobile POS Store ID and Terminal ID matched to Business Central, first-startup full replication allowed to complete | A usable till and a trustworthy lookup |
| First week | Full sales history and the remaining long-tail data, loaded after opening | Depth of history, not correctness of sale |
The table is a decision tool, not a data dictionary. Any candidate for the opening load gets one question: which gate does it control? First sale, first day, or neither? Neither means first week, however tidy an early load would feel. The broader new store setup checklist sequences the non-replication parts of opening alongside this order.
Proving the set: test transactions before the doors open
Spec checks come before test sales. Three documented behaviours are worth verifying on the actual setup, not assuming:
- COMMERCE_INIT is a run, not a schedule. It needs to be run when the new store is added and does not need to be scheduled. A team waiting for a scheduled run that was never set up is waiting on a step nobody owns.
- The preload has a stated path. The Preload POS job runs from Tools > Replication > Job. A preload hunt that starts in another menu starts wrong.
- Mobile POS full replication is a first-startup default. On at first startup, off after the first success. Verify the first run completed before relying on later, lighter runs.
Then run the opening procedure in order:
- Run COMMERCE_INIT for the new store. This prepares the startup data for the added store.
- Open the Data Director debugging windows before the first preload run. The preload guidance is explicit on the order: open the debugging windows first, to see whether data flows to the correct destination.
- Run the Preload POS job from Tools > Replication > Job. Watch the debugging windows while it runs, not after it reports.
- Confirm destination, then test logging in. Data at the correct destination, plus a working login, is the first proof point.
- Test inventory lookup. Look up an item that belongs to the first-sale set and confirm the terminal returns it.
- Start Mobile POS devices with matched IDs. Confirm Store ID and Terminal ID match Business Central, start the app, and let the first full replication finish.
- Sell the test basket. One ordinary item at its documented price, one item under an offer, and one member sale. Each line tests a different entry in the first-sale set.
What success looks like: data visibly flows to the correct destination in the debugging windows, login works, inventory lookup returns the test item, and the test basket prices an ordinary line, an offer line, and a member line the way head office set them up. Anything less is a named gap in a named set, fix that set, not the whole load.
Opening-day decision checklist
- COMMERCE_INIT has been run for this store, by a person, not left to a schedule.
- Every first-sale entry is present: items with prices and images, offers, member management, stores and terminals.
- Login and inventory lookup have both been tested on a real terminal at the new store.
- Mobile POS Store ID and Terminal ID match Business Central on every device, and each device has completed its first replication.
- History and long-tail data are scheduled for the first week, and nobody is holding the opening for them.
- A failed check names its set, first sale, first day, first week, before anyone starts a fix.
, Dex Carter, Tech Writer
Keep readingNext: Distribution Locations in LS Central: How Data Actually Routes Between Stores →