> For the complete documentation index, see [llms.txt](https://docs.hotwax.co/documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hotwax.co/documents/retail-operations/inventory/available-to-promise/concepts.md).

# Understand sourcing concepts

Learn how product filters, facility groups, inventory channels, and rule priority shape online inventory.

Use the `Sourcing` section of the **Order Routing Rules** app to manage the rules that contribute to available-to-promise (ATP) inventory.

## Use product filters

Apply a rule to a group of products with tags or product features.

* Use `Products by tags` for values synced from the product catalog, such as `Clearance` or `New arrival`.
* Use `Products by feature` for attributes such as color, size, or category.
* Add values under `Included` to bring matching products into the rule.
* Add values under `Excluded` to remove matching products from the rule.
* Select `AND` when a product must match every selected value.
* Select `OR` when a product can match any selected value.

Leave both product filter sections empty when the rule should apply to all products in its facility or channel scope.

The filter picker displays the number of products that match each value and a live total for your current selection.

## Use facility groups

A facility group collects facilities that share a business purpose. Sourcing rules use facility groups so you can apply one rule to many locations.

For example, create separate groups for retail stores, warehouses, or a region. On facility-based rule forms, use `Included` and `Excluded` to define the final scope. Before saving, select the button that shows the number of impacted facilities and confirm the resulting scope.

You can create a facility group or use an existing group from a rule form when no suitable group is available.

## Use pickup groups

A pickup group identifies the facilities that can fulfill store pickup orders for a product store.

Open `Sourcing` > `Store pickup`, then select the `Facility` tab to manage pickup groups. Each facility card contains a toggle for every linked pickup group. Turning on a toggle adds the facility to that pickup group. Turning it off removes the facility.

## Use inventory channels

An inventory channel combines:

* A channel facility group that identifies the facilities contributing inventory
* A configuration facility used by channel-level product rules

Open `Sourcing` > `Channels` to manage both parts. The page title is `Inventory channels`.

Use a separate inventory channel when sales channels require different inventory sources. For example, a Canadian sales channel can use stores and warehouses while a United States sales channel uses warehouses only.

The `Publish` tab associates an inventory channel with a connected Shopify shop and its publish schedule.

## Understand rule priority

More than one rule can match the same product and facility. The last matching rule in the sequence sets the final value for that combination.

Place broad base rules before specific exceptions. For example:

1. Set a threshold of five units for products tagged `Shirts`.
2. Set a threshold of 10 units for products tagged `Shirts` and `Sale`.

The second rule overrides the first rule for sale shirts.

Use the sequence button at the bottom of a sourcing rule page to reorder rules. Drag the rules into position, then select the save button.

Continue with [Create inventory channels](/documents/retail-operations/inventory/available-to-promise/create-channels.md) or [Schedule sourcing rules](/documents/retail-operations/inventory/available-to-promise/schedule-atp-rules.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.hotwax.co/documents/retail-operations/inventory/available-to-promise/concepts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
