> For the complete documentation index, see [llms.txt](https://docs.rmhpos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rmhpos.com/store-manager/configure-pos-and-store-manager/inventory-and-purchasing/setting-up-ordering-rules.md).

# Ordering rules

1. Click **File** | **Configuration**.
2. Click the **Ordering rules** tab.
3. (Optional) Select rules for quotes, work orders, layaways, and back orders.

<details>

<summary><img src="/files/Bdprh8VktJ8YD1YS6AjL" alt="" data-size="original"></summary>

<table><thead><tr><th valign="top">Option</th><th valign="top">Field</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top">Layaway</td><td valign="top">Expiration</td><td valign="top">The maximum number of days the customer has to pay off the total layaway amount before the layaway agreement expires and is no longer valid, e.g., 90. The number of days includes the day the layaway order was placed.</td></tr><tr><td valign="top"></td><td valign="top">Deposit</td><td valign="top">The minimum percentage of the total layaway amount that the customer must pay as a deposit when the layaway order is created.</td></tr><tr><td valign="top">Work Order</td><td valign="top">Due Days</td><td valign="top">The expected number of days from when a work order is created until it is ready. Store Manager uses this number to calculate the pick up date, which in printed in the work order header.</td></tr><tr><td valign="top"></td><td valign="top">Deposit</td><td valign="top">The minimum percentage of the total work order amount that the customer must pay as a deposit when the work order is created.</td></tr><tr><td valign="top">Back Order</td><td valign="top">Expiration</td><td valign="top">The maximum number of days the store has to fill a back order before it expires.</td></tr><tr><td valign="top"></td><td valign="top">Deposit</td><td valign="top">The minimum percentage of the total back order amount that the customer must pay as a deposit when the back order is created.</td></tr><tr><td valign="top">Quote</td><td valign="top">Expiration</td><td valign="top">The maximum number of days customers have to purchase an item at the quoted price before the quote expires and is no longer valid.</td></tr></tbody></table>

</details>

4. Click **Save And Close**.


---

# 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.rmhpos.com/store-manager/configure-pos-and-store-manager/inventory-and-purchasing/setting-up-ordering-rules.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.
