> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/admin/what-is-an-order-linker.md).

# What is an Order Linker?

An Order Linker module is designed to streamline and enhance the efficiency of sales and purchase order processes. Occasionally, items on sales orders will be back-ordered or specially requested, and their stock won’t arrive for a few days. It would be convenient for a sales representative to **get an internal notification when an item for their customer has arrived and is ready to be shipped.**&#x20;

This module links line(s) between a **purchase order and sales order** – and when the item has been received into the system, a notification automatically gets sent to the sales rep of the linked sales order.&#x20;

Additionally, there's an app config, "**Auto allocate linked sales orders when stock is received"** that allows for the automatic allocation of linked sales orders when the inventory is received.&#x20;

<figure><img src="https://3188343778-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fkf8DNCjEfcSm64PCPcmf%2Fuploads%2Fw4P99njENm9dgz7KU9Kl%2Fimage.png?alt=media&amp;token=05a25233-59ef-4230-b7ab-37515ca605cd" alt=""><figcaption></figcaption></figure>

If this setting is on then the system will automatically allocate the sales order(s) linked to purchase order being received by creating pick waves. You can specify the wave allocation type i.e Full Orders only (which means the order will wait to allocate until the complete order is available in stock), Full Qty Lines only or Allocate what's available.&#x20;

You can also **link a Manufacturing Order (Finished Goods/Raw Material) with a sales order.** This comes in handy when you are selling a manufacturable item. If there is a linking available, as soon as the item is produced, the representative can be notified about the inventory and you can then ship the order

{% hint style="info" %}
*Please note: The linking can only be created for orders of the same store and for orders that contain common items.*
{% endhint %}

### **Order linking can be created in multiple ways:**

#### Create a linking directly from the orders

To link the orders directly, open the order and go to Options > Link Orders. &#x20;

#### Create a linking from the module

You can pull up the 'Order Linker' module, select the orders and add the linking.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.xorosoft.com/xoroerp-1/admin/what-is-an-order-linker.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
