# Location rules

Give one BOM a different behaviour and a different BOM at a single Shopify location, without touching the base bill.

import Term from '~/components/Term.astro';
import { Aside } from '@astrojs/starlight/components';
import DocUpdated from '~/components/DocUpdated.astro';

In Assemblified, a **location rule** lets one <Term def="bom">BOM</Term> behave differently at one Shopify location. You can stop a bill from being fulfilled at a location, sell only the <Term def="pre-assembled">pre-assembled</Term> shelf there, force it to be made to order there, and change the BOM itself: drop a material, change a quantity, draw a component from a different location, or add a component the base bill does not carry.

Every location you have not given a rule keeps the base bill exactly as it is. A rule is a difference applied on top of the bill, never a copy of it, so editing the bill's materials still reaches every location.

## On this page

- When location rules are available
- The locations tab, and setting modes in bulk
- The four modes
- Changing the BOM at one location
- What a rule changes across the app
- Assembly BOMs
- Finding the bills that have rules
- Turning multi-location adjustments off

## When location rules are available

Two conditions:

- **Multi-location sensitive adjustments must be on**, under **Settings → General**. Location rules are a multi-location feature: with the setting off there is no Locations tab and no rule can be saved. See [Initial setup → Multiple locations](/getting-started/initial-setup/#multiple-locations).
- **Creating, editing and deleting a rule requires the Enhanced plan.** On other plans the tab still lists what is configured, so you can see what your store does, with a single upgrade action.

Rules are local to one store. In a [multi-store group](/features/multi-store/overview/) each store keeps its own rules and they are never copied between stores.

## The locations tab

The BOM detail page gains a **Locations** tab, which lists every Shopify location with:

- the mode in force there (Inherit, Disabled, Pre-assembled only, Made to order),
- how many material changes the rule carries,
- what the bill costs **at that location**, with the base cost printed underneath it.

A location with no rule shows the base cost, because it runs the base BOM. Per-location costs are worked out fresh each time you open the tab, so they always reflect the current material prices and the current rule.

A rule that points at a location your store no longer has keeps its row, flagged **Location not found**, so you can still open and delete it.

Editing a row opens the rule editor. **Remove rule**, at the foot of the editor, deletes that location's rule together with every material change under it and restores the base bill there.

### Setting modes for many bills at once

One bill at a time is the wrong shape for "switch the whole autumn range off in Berlin". On the
**Finished goods** list, tick the rows and choose **BOM settings → Location rules** in the bar along
the bottom. (Like the Locations tab itself, that entry is only there while multi-location sensitive
adjustments are on, and creating or changing a rule needs the Enhanced plan.)

The dialog is a **matrix**: one row per Shopify location, each defaulting to **No change**. Per
location you can pick any of the four modes, or **Remove rule**. At least one row has to differ from
*No change* before **Apply** comes alive — a run that changes nothing is not a run.

Two things about it are worth knowing:

- **It writes the mode only.** BOM changes — the material overrides — are authored one bill at a
  time in the rule editor. This surface is how a *list* of bills is switched off, or made to order,
  somewhere.
- **It keeps each bill's existing material overrides at that location.** The dialog says so before
  you apply. This is the difference between it and saving a rule on the detail page, which replaces
  that location's overrides with whatever is on screen.

A large selection is applied in batches with a progress bar, and the result names how many finished
goods were updated. If the run stops partway, it says how many landed rather than pretending the
whole thing failed.

## The four modes

| Mode | What it means at that location |
|---|---|
| **Inherit** | Nothing about the bill's behaviour changes. Use this when you want a different **BOM** at the location but the same behaviour everywhere. |
| **Disabled** | Orders fulfilled from this location consume no components and draw nothing from the pre-assembled shelf. Assemblified stops managing the finished good's availability here. |
| **Pre-assembled only** | The location sells from its pre-assembled shelf. Same effect as the bill-level <Term def="only-sell-preassembled">Only sell pre-assembled quantities</Term> setting, restricted to this one location. |
| **Made to order** | Components are consumed here even when the base bill sells only pre-assembled stock everywhere else. |

Material changes apply under Inherit, Pre-assembled only and Made to order. Under **Disabled** they are ignored, because nothing is consumed at that location at all.

<Aside type="note" title="Disabled is about selling, not about stock">
Disabled says "this bill is not fulfilled from here". It never touches the pre-assembled shelf at that location: the units on the shelf stay on the shelf, they keep counting toward your grand total, and you can still correct or write off the count there.
</Aside>

<span id="changing-the-recipe-at-one-location"></span>

## Changing the BOM at one location

The rule editor lists every material of the base bill with three choices:

- **Keep** (the default) uses the base bill's line unchanged.
- **Remove** takes the material out of the BOM at this location.
- **Set** overrides the quantity, the waste percentage, or the location the material is drawn from. Any field you leave untouched keeps the base bill's value.

**Add material** brings in a component the base bill does not carry. A material the bill already has cannot be added a second time; change it with **Set** instead. The picker leaves those materials out for you. An added material is held to the same rules as the base recipe: it cannot be the bill's own product or an assembly bill that contains it (see [A recipe cannot contain its own product](/features/bill-of-materials/composition/#a-recipe-cannot-contain-its-own-product)), and an added assembly bill cannot close a nesting loop.

The location a component is *drawn from* is a separate question from the location the rule applies to. A rule at your retail location can add a component that is drawn from your central warehouse.

Saving writes the complete set of changes that is on screen, so a change you take out of the editor is deleted by the save.

## What a rule changes across the app

### Orders

A bill is executed at the location the order is fulfilled from, using that location's BOM. Where the mode is **Disabled**, the line is skipped in full: no components, no shelf draw, and no availability written for that finished good at that location. The rest of the order is processed normally.

If [BOM order-status tagging](/features/tagging/bom-order-status/) is on, an order whose matched bills were all disabled at their location is tagged as having no BOM available, and an order where some lines ran and others were skipped gets its own partially-disabled tag.

### Cancellations and refunds

**A return restores what the order actually consumed, even if the rule changed in between.** A line that was skipped because the bill was disabled restores nothing. A line that did run is restored in full, at the quantities it ran at, even if the location has since been disabled or its BOM rewritten.

This makes location rules safe to edit while orders are in flight, which is not true of every setting in Assemblified.

### Availability and buildable numbers

With [location-sensitive dynamic adjustments](/features/bill-of-materials/dynamic-adjustment/) on, the buildable number at a location is computed from **that location's BOM**, so the same bill can have a different bottleneck material at two locations.

- **Pre-assembled only:** availability at that location follows the shelf alone.
- **Made to order:** buildable plus shelf, as usual.
- **Disabled:** nothing is written for that location, and its neighbours are unaffected.

A rule cannot switch <Term def="dynamic-adjustment">dynamic adjustment</Term> on or off. Whether a bill takes part at all stays a bill-level setting; the rule only decides what is written at each location.

### Quick build and pre-assembled stock

Quick build reads the BOM of the location you have selected, and re-reads it when you change the location. On the BOM detail page it waits for that location's numbers before it lets you build, so the rule and the BOM in front of you are always the ones the run will use.

A bill that is **disabled** at the selected location says so before you have typed anything: a warning at the top of the dialog names the item and states that it cannot be built there, whichever reason is selected, and the row itself is marked **Disabled at this location**. Its quantity field is switched off for a build or a disassembly, and if every row in the run is in that state the confirm button says so too. Corrections and write-offs of the pre-assembled count still go through, because the shelf is stock — and the warning says that as well.

Where the rule only rewrote the **BOM**, nothing is blocked: the row notes **BOM adjusted for this location** with the number of changes, and the preview shows the adjusted quantities. What the preview lists is what the run consumes at that location. **Pre-assembled only** and **Made to order** change nothing about a quick build at all — they decide what a location sells, not what the BOM is.

Saving the run as a **draft work order** follows the same rule: an item the location disables is left out of the draft exactly as it is left out of a build, and if that leaves nothing to plan the action disappears.

### Switching a location to Pre-assembled only

Setting a location's rule to **Pre-assembled only** changes what Shopify's number *means* there: it
stops being "what your components allow, plus the shelf" and becomes "the shelf". So Assemblified
lines that one location up **once**, at the moment you save the rule — the same thing the bill-level
setting does for the whole finished good. Only that location is touched; the others keep exactly
what they hold.

Moving the location **away** from Pre-assembled only — to Inherit, Made to order, Disabled, or by
deleting the rule — does the mirror: availability there goes back to pre-assembled stock plus what
your components allow, unless the bill-level setting is still on. (Setting a location to **Disabled**
never lines it up; only *leaving* Pre-assembled only does.)

After that one moment nothing else re-anchors: from then on Shopify moves at that location by
exactly what you move, and the reconcile dialog is the only place the two numbers are forced
together. Saving a rule that leaves the mode where it already was changes nothing and writes
nothing.

When you turn **Only sell pre-assembled quantities** on, the check that runs before anything is applied reports every location whose rule says Made to order or Disabled: no pre-assembled stock is set there, and the finished good's row names the location and the reason — so the change never quietly applies less than it claims. If a rule takes out every location a bill is stocked at, the check says that too, and its availability is left alone. The reconcile dialog on the Finished goods list leaves the same locations out of its preview.

### Purchase orders, transfers and stock takes

At a location where a bill is **disabled**, its pre-assembled count does not follow stock movements you record in <Term def="logistified">Logistified</Term>. A purchase order received there, a stock transfer in or out, a stock take and a manual adjustment all leave the count exactly where it was — Assemblified does not manage the finished good at that location, so it does not keep a number for it either. Your Shopify stock still moves, and Assemblified's own inventory history still records the movement; only the pre-assembled count stands still.

Transferring the finished good **out** of such a location is the case worth knowing: normally, if a transfer ships more units than the pre-assembled count holds, Assemblified builds the difference and consumes the components for it. At a disabled location it never does, so no materials are taken there by a transfer.

A [work order](#work-orders) run at that location still adds to the count, because building is not selling. The pre-assembled count at a disabled location therefore reflects one thing only: what you have built there.

### Work orders

A work order builds at its production location, and its material list comes from that location's BOM.

A work order for a bill that is **disabled** at the production location is still created. You get a warning on the work order and the materials are planned from the base BOM: "not sold from here" is not the same as "cannot be built here", and a warehouse that does not sell a product is often exactly where you build it. The warning is recomputed on every load, so it clears by itself once the rule is lifted.

### Safety-stock reservations

A <Term def="safety-stock-reservation">reservation</Term> is measured against the BOM of the location it is held at.

Creating or raising a reservation at a location where the bill is **disabled** is refused, and the refusal says so: the fix is a rule change, not a larger number, and there is no "reserve anyway" for it. Reducing or releasing an existing reservation is never refused, so a hold taken before the rule existed can always be cleared.

<span id="assembly-bills"></span>

## Assembly BOMs

Assembly BOMs carry location rules with the same four modes and the same BOM changes.

**Disabled** and **Pre-assembled only** mean the same thing on an assembly BOM: at that location the assembly is drawn from its own pre-assembled shelf and never from its components. The demand comes off the shelf in full, even if that takes the shelf negative, which is the same honest-deficit behaviour as [Only consume pre-assembled](/features/sub-assemblies/only-consume-preassembled/). Deliberate builds are unaffected and still consume materials.

## Finding the bills that have rules

On the **Finished goods** list:

- a **Location rules** column shows how many locations run the bill differently. A bill with no rules shows nothing, so only the exceptions stand out.
- a **has location rules** filter answers "which of my bills behave differently somewhere". It works in saved views like any other filter.

## Turning multi-location adjustments off

Turning **Multi-location sensitive adjustments** off does not delete your rules, but it does ignore them: every bill behaves exactly as its base BOM says, everywhere.

The locations tab disappears with the setting, so while rules still exist the bill's **Settings** tab carries a warning:

> Location rules are configured but inactive because multi-location adjustments are off.

Reads and deletes stay open in that state, so you can still review what was configured and clean it up. Turning the setting back on makes every rule live again as it was.

## Where to next

- [Execution model](/features/bill-of-materials/execution/) for what an order does when no rule is in the way.
- [Dynamic adjustment](/features/bill-of-materials/dynamic-adjustment/) for the buildable number a rule reshapes per location.
- [Pre-assembled stock](/features/bill-of-materials/pre-assembled/) for the shelf that Pre-assembled only sells from.
- [Settings reference](/features/bill-of-materials/settings/) for the bill-level settings a rule overrides at one location.

<DocUpdated date="2026-11-19" />