# Routing

In the routing section, you can define the routing strategy to best meet the needs of your customers. Based on the configured strategy, fulfillmenttools decides in which warehouse or store to fulfill the order.

The initial view shows the configured strategy as a flow diagram.

{% hint style="info" %}
You can create categories for this section to make it easier to view the flow diagram.
{% endhint %}

To edit the routing strategy, we recommend reviewing the basic configuration first. To do this, hover on the **Basic configuration** box and click the edit icon.

The routing strategy logic is divided into two areas. For both areas, you can configure custom rules, which supplement the predefined rules of fulfillmenttools.

* [Fences](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/fences) exclude facilities from routing.
* [Ratings](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/ratings) weigh facilities in the routing decision.

{% hint style="info" %}
More information on the routing strategy can be found in [the Routing strategy article.](https://docs.fulfillmenttools.com/documentation/by-pillar/advanced-order-routing/routing-strategy).
{% endhint %}

### Order types

When creating an order, fulfillmenttools differentiates between two types of orders:

* [Click & Collect](https://docs.fulfillmenttools.com/documentation/by-pillar/order-management#click-and-collect-order): The customer picks up the order in the store.
* [Ship-from-Store](https://docs.fulfillmenttools.com/documentation/by-pillar/order-management#ship-from-store-order): A shipping provider ships the order from a facility to the customer's address. The type of facility (store or warehouse) is irrelevant in this context.

### Unroutable orders

An order might not be assigned to a facility (routed) if no available facility passes a specific fence. In such a case, the system retries routing the order whenever another order is passed to the DOMS. After a configurable amount of time, the order is set to a `not_routable` state. The default time is 8 hours.

## FAQs

<details>

<summary>How to define order type Ship-from-Store for a facility?</summary>

1. Select **Network View**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt=""><figcaption></figcaption></figure>
2. Define which **Service Type** can be selected by the customer

   <figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/k9y5sP7JZAS1XcOJbTgr/image.png" alt=""><figcaption></figcaption></figure>
3. In the **DOMS Configuration**, enable fences to specify the ship-from-store settings.

   <figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/NQzkyCRAImo2jN6qbmP2/image.png" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>How to define order type Click &#x26; Collect for a facility?</summary>

1. Select **Network View**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt=""><figcaption></figcaption></figure>
2. Select **Facilities**&#x20;

   <figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/sp3ouNUOU5VzF8od8R3a/image.png" alt=""><figcaption></figcaption></figure>
3. Click the settings icon in the facility overview

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FGxgng7LVIpiJzGPLKO4p%2Fimage%20(161).png?alt=media&#x26;token=c0127fdf-27f9-4df3-9767-53535bc732cc" alt=""><figcaption></figcaption></figure>
4. Define the preferred order type or types for each facility

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FlY7uoFgqsgpZevwa3yUK%2Fimage%20(182).png?alt=media&#x26;token=3799dc9a-975a-4650-b38f-65fa772d1062" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>How to set order split settings for initial routing?</summary>

1. Select **Network View**

&#x20;![](https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20\(67\).png?alt=media\&token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9)

2. Select **DOMS Configuration**

&#x20;![](https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/gP2H6YzIGA7I31Dfp66t/image.png)

3. Expand **Order Split**

&#x20;![](https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FOPSqTerpwJxbTum9U6ll%2Fimage%20\(194\).png?alt=media\&token=dcfc372f-4aa4-40bb-a49d-5d27fc383d82)

4. Define the individual **Order Split Count**

![](https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/QADen8dXQ43d3bzr9tvP/ordersplit.png)

</details>

<details>

<summary>How to activate order split after short-pick for ship from store orders?</summary>

1. Select **Network View**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt=""><figcaption></figcaption></figure>
2. Select **DOMS Configuration**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2F74BUjum78T2CyHkhzHUM%2Fimage%20(193).png?alt=media&#x26;token=323ba675-ec96-40bb-861c-d72a55e5faf1" alt=""><figcaption></figcaption></figure>
3. Expand **Routing decision in case of a shortpick**

   <figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/n4v98LuFs4SxNXIV1t8W/image.png" alt=""><figcaption></figcaption></figure>
4. Select **Order Split** and click the **Save** button

&#x20;<img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/cnDQhnZK7hmBZGtNIguU/Bildschirmfoto%202024-05-13%20um%2013.27.22.png" alt="" data-size="original">

The system can now split the order in case of a short-pick.

</details>

<details>

<summary>How to set ratings in your order routing?</summary>

1. Select **Network View**

&#x20;<img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt="" data-size="original">

2. Click on **DOMS Configuration**
3. Expand **Routing rules**

&#x20;<img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FWo4czwRnILPm9SbkdDpP%2Fimage%20(68).png?alt=media&#x26;token=553ac35b-6c58-4c02-be73-d8fa095aa612" alt="" data-size="original">

4. Define the weight of each criterion&#x20;

A lower number (for example, 1) indicates higher importance, while a higher number (for example, 10) indicates lower importance.

&#x20;![](https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/i0Rg7Ht9wvmHQMcI9Kpe/image.png)

</details>

<details>

<summary>How to enable reroute upon short-pick for Click &#x26; Collect/Ship-to-Store /interfacility transfer?</summary>

1. Select **Network View**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt=""><figcaption></figcaption></figure>
2. Select **DOMS Configuration**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2F74BUjum78T2CyHkhzHUM%2Fimage%20(193).png?alt=media&#x26;token=323ba675-ec96-40bb-861c-d72a55e5faf1" alt=""><figcaption></figcaption></figure>
3. Expand **Routing decision in case of a short-pick**

   <figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2F7nnUkT8jtxPOnQOgV6zN%2Fimage%20(201).png?alt=media&#x26;token=e1354281-e011-4d76-acd9-bd3aadbe66f7" alt=""><figcaption></figcaption></figure>
4. Activate **Click & Collect reroute**

   <figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/kAPcUhfbSC1hdf7vQ5nv/image.png" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>How to activate reroute in case of inactivity?</summary>

1. Select **Network View**

&#x20;![](https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20\(67\).png?alt=media\&token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9)

2. Expand **Reroute tasks in case of inactivity**

&#x20;![](https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/8X98Q0KwC8oRGvmQ3ucp/image.png)

3. Define reroute settings for orders that are not fulfilled within a certain timeframe. The function can be activated for:
   1. Ship-from-store tasks
   2. Same-day deliveries
   3. Click & Collect tasks

<figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FlZxvgRVWRnp5CaxCX8fN%2Fimage%20(210).png?alt=media&#x26;token=a5b430df-0a79-4364-957c-6d4be068cd0a" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary>How to activate manual reroute?</summary>

1\. Select **Network View**

<figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FTn20II29hkUdNw2uauOx%2Fimage%20(67).png?alt=media&#x26;token=225d5aa0-b264-4fa1-adf8-0912bc1a71a9" alt=""><figcaption></figcaption></figure>

2\. Expand **Reroute task manually**

<figure><img src="https://content.gitbook.com/content/Lrrr5jgTsDuR38gNJIrm/blobs/PzzVJYetYIvpbKCZyBeh/image.png" alt=""><figcaption></figcaption></figure>

3\. Activate **Reroute** to enable the function

<figure><img src="https://4170739437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLrrr5jgTsDuR38gNJIrm%2Fuploads%2FHYUYR84pe2Ap027Zc5uy%2Fimage%20(214).png?alt=media&#x26;token=0d3fb53d-3c9d-4dd4-aa2b-3dcb675ea448" alt=""><figcaption></figcaption></figure>

</details>
