> 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.md).

# Manage available-to-promise inventory

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

Open the required page from `Sourcing`:

* `Threshold`: Hold a quantity back from online availability.
* `Safety stock`: Maintain safety stock rules by product and facility scope.
* `Store pickup`: Control which inventory is available for pickup.
* `Shipping`: Control which inventory is available for shipping.
* `Channels`: Manage inventory channels and their assignments.
* `Inventory`: Review product inventory and facility-level details.

The `Inventory` menu item appears only when the deployment reports component release `v6.0.0` or later.

## Understand online available-to-promise inventory

HotWax Commerce combines inventory from enterprise resource planning (ERP), point of sale (POS), warehouse management system (WMS), and other connected systems. The online ATP calculation can account for:

* quantity on hand (QOH);
* reserved quantities;
* safety stock;
* inventory thresholds;
* orders waiting in the routing queue; and
* inventory at facilities excluded from online fulfillment.

A simplified calculation is:

$$
\text{Online ATP} = \text{QOH} - (\text{Reserved} + \text{Safety stock} + \text{Threshold} + \text{Queued demand} + \text{Excluded ATP})
$$

For example, start with 100 units of QOH and subtract 5 units for each of the five deductions:

$$
100 - (5 + 5 + 5 + 5 + 5) = 75
$$

HotWax Commerce can publish 75 units as online ATP for this example.

## Apply sourcing rules at scale

Build sourcing rules with product tags, product categories, facility types, or facility groups instead of maintaining every product and facility combination individually. Review rule priority and scope when more than one rule can apply to the same inventory.

## Choose by business goal

Start with the outcome you need, then use a scenario to choose the right rule.

| Business goal                                             | Start here                                                                                                                                                            |
| --------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Protect online inventory with a threshold or safety stock | [Protect sellable inventory](/documents/retail-operations/inventory/available-to-promise/use-cases.md#protect-sellable-inventory)                                     |
| Control shipping or pickup eligibility                    | [Control where products sell](/documents/retail-operations/inventory/available-to-promise/use-cases.md#control-where-products-sell)                                   |
| Publish different inventory through sales channels        | [Publish inventory by channel](/documents/retail-operations/inventory/available-to-promise/use-cases.md#publish-inventory-by-channel)                                 |
| Investigate inventory values                              | [Review inventory](/documents/retail-operations/inventory/available-to-promise/inventory.md). The `Inventory` menu item requires component release `v6.0.0` or later. |
| Schedule, run, and verify sourcing-rule output            | [Verify sourcing changes](/documents/retail-operations/inventory/available-to-promise/use-cases.md#verify-sourcing-changes)                                           |

Continue with the sourcing setting you want to configure:

* [Configure thresholds](/documents/retail-operations/inventory/available-to-promise/threshold-rules.md)
* [Configure safety stock](/documents/retail-operations/inventory/available-to-promise/safety-stock-rules.md)
* [Configure store pickup](/documents/retail-operations/inventory/available-to-promise/store-pickup-rules.md)
* [Configure shipping](/documents/retail-operations/inventory/available-to-promise/shipping-rule.md)
* [Manage inventory channels](/documents/retail-operations/inventory/available-to-promise/create-channels.md)
* [Understand sourcing concepts](/documents/retail-operations/inventory/available-to-promise/concepts.md)
* [Schedule sourcing rules](/documents/retail-operations/inventory/available-to-promise/schedule-atp-rules.md)
* [Apply sourcing rule use cases](/documents/retail-operations/inventory/available-to-promise/use-cases.md)
* [Review inventory](/documents/retail-operations/inventory/available-to-promise/inventory.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.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.
