# Order Template Dependency

An order dependency defines the relationship between operations in your production line. For instance, on a filling line, the Filler operation depends on the Depalletiser operation. This dependency allows the system to track an infeed counter, which is compared against the quantity produced by the target asset. The difference between these values represents the reject count.

The Order Template dependency must be created and AutoReject must be enabled for this feature to function. To ensure accurate counts, reject totals are only calculated once all dependent orders are completed, preventing timing discrepancies from affecting the results.

## Navigation

Navigate to Asset Hierarchy > Order Templates, select an Order Template, expand the Dependencies panel, and click Create.

<figure><img src="/files/f8SeiOpXP11Wt1HWL33M" alt=""><figcaption></figcaption></figure>

| Name                  | Description                                                                         |
| --------------------- | ----------------------------------------------------------------------------------- |
| Name                  | Depedency name                                                                      |
| Infeed Order Template | The Order Template for orders that are to be finished before this Order Template    |
| Order Template        | Current Order Template, prefilled by the order template you are currently in.       |
| Auto Reject           | If enabled, then the reject totals will be calculated once all orders are completed |

## Examples

### No Route

Where assets just have a single order, hence no need to calculate dependent reject counts

<figure><img src="/files/kR7dO3rnjuRgRIJun637" alt="" width="375"><figcaption></figcaption></figure>

### Simple Route

Where you only have 1 single line of production throughout the assets.

<figure><img src="/files/61cjBofAOa4lia1UWRUE" alt=""><figcaption></figcaption></figure>

### Multiple Infeeds

Since we do not know the proportions to assign to multiple assets in a segment, reject counts will be calculated once all orders are completed.

<figure><img src="/files/DD8m8ngr18EGzqLU8Du0" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/asset-hierarchy/order-template/order-template-dependency.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
