> For the complete documentation index, see [llms.txt](https://help.tillit.cloud/tillit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tillit.cloud/tillit/knowledge-base/setting-up-tillit/asset-hierarchy/order-template.md).

# Order Template

## Overview

{% hint style="info" %}

* Order templates in our system allow for sophisticated management and configuration of orders, including the ability to split orders into multiple segments.
* Order template is used when we want to influence the creation of an order. It is common that production orders are scheduled and maintained in a more aggregated level compared to how they need to be executed.
* A common case is that we schedule production on a “Line level” but we need to execute the production at an equipment level.
* As an example, in case of a bottling line, it's common to schedule at the line level but we want to track production at the Depalitiser, Filler, Labeller and Palletizer level. We use order template to perform the conversion between the line level to the equipment level.

This document will guide you through the process of understanding, creating and configuring order templates.
{% endhint %}

The video below guides you through the process of creating and using Order Templates.

{% embed url="<https://youtu.be/Dy8D24XZZDs>" %}

## Accessing Order Templates

{% hint style="info" %}
Go to ***Settings > Asset Hierarchy > Order Templates.***
{% endhint %}

<figure><img src="/files/JPbkLj6RdelTPtlUGzce" alt="Sidebar menu in TilliT interface under Settings > Asset Hierarchy, with &#x22;Order Templates&#x22; highlighted" width="133"><figcaption></figcaption></figure>

## Creating an Order Template

{% hint style="info" %}
When creating an order template, you need to think about a parent-child relationship between levels of productions. Which level A of production (the parent) that you want to map onto another level B of production (the child).<br>

The available levels are:\
\- Asset Class > Asset > Material Group > Material > Attribute
{% endhint %}

### Step-by-Step

{% stepper %}
{% step %}
Go to the page and click the **Create** button to open the modal.

<figure><img src="/files/XYj1wSUEPqAp6Kvwx8HA" alt="Order Template page highlighling Create"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Fill in the required fields.

In this example, we map orders created on the **LINES** Asset Class level to new orders on the **Fillers** Asset Class level:

* Name: Fillers
* Operation: FILLER
* From Asset Class: LINES
* To Asset Class: Fillers

{% hint style="info" %}
Since we are working at the Asset Class level, assets falling under these classes will inherit this mapping rule
{% endhint %}

<figure><img src="/files/RAkHNQJjcEAhLCO0YB7q" alt="Modal window titled &#x22;Create Order Template&#x22; with input fields including Name set to &#x22;Fillers&#x22;, From Asset Class set to &#x22;LINES&#x22;, To Asset Class set to &#x22;Fillers&#x22;, and Operation set to &#x22;FILLER&#x22;" width="231"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **Save and open** to expand and configure the full settings of the Order Template.
{% endstep %}
{% endstepper %}

## Understanding Basic Information Fields

Upon opening the entity you will be presented will multiple configuration options like the image attached below and this table will help you go through what they all mean.

<figure><img src="/files/VB5VKZzNOeqji0vIvFIx" alt="Basic Information screen of the &#x22;Fillers&#x22; Order Template"><figcaption></figcaption></figure>

<table><thead><tr><th width="258">Name</th><th>Description</th></tr></thead><tbody><tr><td>ID</td><td>This field is automatically populated for the entity by TilliT.</td></tr><tr><td>Name *</td><td>The name of this Order Template.</td></tr><tr><td>From Asset Class / Asset / Material Group/ Material / Attribute</td><td>The parent level of entities that you want to map from. For this example, we want to map every order created on the <strong>Lines</strong> level to all <strong>Fillers</strong> under the <strong>Fillers Asset Class</strong></td></tr><tr><td><strong>To</strong> Asset Class / Asset / Material Group / Material</td><td>The child level of entities that you want to map to. For this example, we have put <strong>Fillers</strong> under <strong>To Asset Class</strong>.<br>If we want a specific filler to be mapped on, we can edit the <strong>To Asset</strong> field instead.</td></tr><tr><td>Segment Code From</td><td>Code used to filter or specify the source segment for the mapping. Leave empty if no specific segment restriction is applied.</td></tr><tr><td>Operation *</td><td>The text attached to the end of the mapped's order's names to differentiate all the different levels you have mapped to.<br>For example if the parent order name is "<strong>PO0001",</strong> the filler child order will be named "<strong>PO0001 - FILLER".</strong></td></tr><tr><td>Variable Quantity *</td><td>The amount of order quantity the child level entities will receive in multiplication.<br>For example if the quantity you put in the parent is 100 units to produce, and the variable quantity is 1.2 then the child order will need to fulfill 100 * 1.2 = 120 units.</td></tr><tr><td>Fixed Quantity *</td><td>The amount of order quantity the child level entities will receive in addition.<br>For example if you put 100, and the parent order has production quantity 100, your child production is 100 + 100 = 200.<br><strong>Note: Variable and fixed quantity values can be combined in configuration.</strong></td></tr><tr><td>Constant Delay in Minutes</td><td>Same philosophy as Fixed Quantity, can be used to model delay in the orders being mapped.<br>If you put 20 minutes, the order will only go to the child entities 20 minutes after order creation on the parent level.</td></tr><tr><td>Delay In Minutes</td><td>Same philosophy as Variable Quantity, can be used to model variable delay in the orders being mapped based on the parent order.</td></tr><tr><td>Fixed Changeover Minutes</td><td>Sets a constant changeover time in minutes applied directly to child entities.</td></tr><tr><td>Variable Changeover Minutes</td><td>Applies a proportional multiplier to the parent's changeover time (e.g., setting 0 removes changeover for child entities).</td></tr><tr><td>Fixed Default Run Rate</td><td>Sets constant base run rate added directly to the default target speed of child entities.</td></tr><tr><td>Variable Default Run Rate</td><td>Multiplier applied to the parent's default run rate to adjust the child entity's target speed.</td></tr><tr><td>Fixed Scheduling Run Rate</td><td>Fixed run rate value used by the scheduling engine to plan order duration for child entities.</td></tr><tr><td>Variable Scheduling Run Rate</td><td>Multiplier applied to the parent's scheduling run rate to scale planned order duration for child entities.</td></tr><tr><td>Downtime Type</td><td>The status that will be defaulted to when the asset is not running but the order is.<br>In this example, the status <strong>"UNPLANNED"</strong> is set for the Downtime Type, which will alert actions or notifications based on how you configure it.</td></tr><tr><td>Changeover Downtime Type</td><td>The status that will be defaulted to when the asset is in changeover but the order is running.<br>In this example, the status "PLANNED" is set of Changeover Type in the case an order is to run on an asset in changeover.</td></tr></tbody></table>

{% hint style="warning" %}
The **Changeover** downtime type has been removed. Any assets previously configured with the Changeover downtime type have been automatically migrated to use **Planned**. The default changeover downtime type when changeover is on schedule is now **Planned**.
{% endhint %}

## Configuring Components (BoM)

The final step in configuring an Order Template is setting up the Bill of Materials (BoM), also known as Components in TilliT.

This allows you to set up specifically which child entities you want to use materials of the BOM that were part of the parent order.

{% stepper %}
{% step %}
Scroll down past the **Basic Information** section to find the **Components** panel, then click **Create.**

<figure><img src="/files/UuzHzrvbdysmWNHSqjd5" alt="Components panel inside the Order Template highlighting the Create action"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
A modal will appear, prompting you to select the **Material Group** and **Material.** In this example, to map all Glass materials to the Fillers, select the Material Group. If you need to specify a particular Glass material, select it from the dropdown.

<figure><img src="/files/eESL7DtbnY8VHsu2uZVm" alt="Modal window titled &#x22;Create Order Template Component&#x22; fields for &#x22;Order Template&#x22;, &#x22;Material group&#x22; and &#x22;Material&#x22;"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Once configured correctly, the component will appear in the table as shown below.

<figure><img src="/files/4uXP5btSyVxmZ8OPlLbk" alt="Components panel inside the Order Template showing the newly component created"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## How it works in TilliT

In the example below, a new order is created on asset Line 1, which belongs to the LINES Asset Class configured previously. (Check out [Create an Order](/tillit/getting-started/start-the-order.md)if you are not sure how to create an Order in detail.)

Two additional Order Templates were also created to **map orders from the Line level** down to **Depalletisers** and **Palletisers.**

<figure><img src="/files/bQ40lb4W2t3Wj4vf9FDI" alt="TilliT user interface showing the Asset list on the left and a &#x22;New Order&#x22; pop-up model open"><figcaption></figcaption></figure>

After completing the order details, navigate to **Line 1**. You will see three distinct child orders created with their respective operations: **DEPAL**, **FILLER**, and **PAL**.

<figure><img src="/files/VtdAQWUgwkXwIDSnPn9Q" alt="Two-panel screenshot of the TilliT dashboard; the left panel highlights &#x22;Line 1&#x22; selected under Assets, and the right panel highlights three newly generated child orders (#TEST000023 - DEPAL, #TEST000023 - FILLER, and #TEST000023 - PAL) listed under Line 1 Orders.)"><figcaption></figcaption></figure>
