# Creating an Order Linking

Creating an order linking entails linking the common item(s) of sales order and purchase order or sales order and manufacturing order. After the orders are linked, once the inventory is received in the system via purchase or manufacturing order, the sales rep gets a notification. This way, the order process is efficient and effective as the sales rep can then go ahead and ship the corresponding sales orders.

### Create an order linking&#x20;

Creating an order linking involves selecting the order type and the order. Once the orders are selected, the item(s) contained in the orders are displayed in the section below. You can then select the items and add the linking.

{% hint style="info" %}
To create an order linking, go to **Menu > Purchase > Order Linking > Order Linker**
{% endhint %}

To create the order linking, you'll begin by selecting the order types and the specific orders. For MO, there are two “Order Type” options on the left side of the Order Linking Header:

1. **Manufacturing Order(FG)**: Choose this for linking the final item produced in the MO, the Manufacturing order finished Product.
2. **Manufacturing order(RM)**: Choose this for linking the manufacturing order raw material item(s).

Once the orders are selected, the item(s) contained in the orders are displayed in the section below.

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

#### Order Linking Header Fields

<table><thead><tr><th width="208">Order Type</th><th width="231">Field</th><th>Description</th></tr></thead><tbody><tr><td>Purchase Order</td><td>Store </td><td>This field displays the store associated with the purchase order.</td></tr><tr><td>Purchase Order</td><td>Type</td><td>This field specifies the type of purchase order: purchase or transfer.</td></tr><tr><td>Purchase Order</td><td>PO#</td><td>The purchase order number is captured in this field.</td></tr><tr><td>Purchase Order</td><td>Item</td><td>This field captures the item number of the purchase order line.</td></tr><tr><td>Purchase Order</td><td>Order Qty</td><td>This field shows the item quantity listed in the PO.</td></tr><tr><td>Purchase Order</td><td>Received</td><td>This is the item quantity of the purchase order that has already been received.</td></tr><tr><td>Purchase Order</td><td>To Receive</td><td>This is the item quantity of the purchase order that is yet to be received (Order Qty-Received).</td></tr><tr><td>Purchase Order</td><td>Status</td><td>This field shows the status of the PO item line.</td></tr><tr><td>Purchase Order</td><td>Alternative Item Number1</td><td>This field displays an alternative item number 1 for the item, providing additional identification.</td></tr><tr><td>Purchase Order</td><td>Alternative Item Number2</td><td>This field displays an alternative item number 2 for the item, providing additional identification.</td></tr><tr><td>Purchase Order</td><td>Alternative Item Number3</td><td>This field displays an alternative item number 3 for the item, providing additional identification.</td></tr><tr><td>Manufacturing Order</td><td>MO#</td><td>This is the manufacturing order number. </td></tr><tr><td>Manufacturing Order</td><td>Status</td><td>This field shows the status of the manufacturing order line.</td></tr><tr><td>Manufacturing Order</td><td>Store</td><td>This field shows the store associated with the manufacturing order.</td></tr><tr><td>Manufacturing Order</td><td>Item</td><td>This field shows the item listed on the manufacturing order.</td></tr><tr><td>Manufacturing Order</td><td>Qty</td><td>This is the item quantity on the manufacturing order.</td></tr><tr><td>Manufacturing Order</td><td>Link Qty</td><td>This is an editable field that displays the MO item quantity that you want to link to the sales order.</td></tr><tr><td>Sales Order</td><td>Ship Store</td><td>This field shows the ship store associated with the sales order.</td></tr><tr><td>Sales Order</td><td>Type</td><td>This field captures the type of sales order: sales or transfer.</td></tr><tr><td>Sales Order</td><td>SO#</td><td>This field displays the sales order number.</td></tr><tr><td>Sales Order</td><td>Item</td><td>This field shows the item number of the sales order line.</td></tr><tr><td>Sales Order</td><td>Ordered</td><td>This field captures the item quantity listed on the sales order.</td></tr><tr><td>Sales Order</td><td>Shipped</td><td>This is the item quantity of the sales order that has already been shipped.</td></tr><tr><td>Sales Order</td><td>To Ship</td><td>This is the item quantity of the sales order that is yet to be shipped (Ordered-Shipped).</td></tr><tr><td>Sales Order</td><td>Status</td><td>This field displays the status of the item line on the sales order.</td></tr></tbody></table>

<br>

Select the items on both sides and click on "Add Linking" to create a linking. You can find order linking details in the section below.

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

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

#### Order Linking Details Fields

<table><thead><tr><th width="239">Field</th><th>Description</th></tr></thead><tbody><tr><td>Store#</td><td>This field displays the store associated with the linked orders.</td></tr><tr><td>Order Number</td><td>This field displays the sales order number.</td></tr><tr><td>Linked Order Type</td><td>This field reflects whether the linking is created against a purchase order or manufacturing order.</td></tr><tr><td>Linked Order#</td><td>This field captures the purchase order or manufacturing order number.</td></tr><tr><td>Item Number</td><td>This field shows item number being linked.</td></tr><tr><td>Qty</td><td>This field shows the quantity of the item linked.</td></tr><tr><td>Action</td><td>Click on the 'Bin' icon in this field to delete the linking.</td></tr><tr><td>Alternative Item Number1</td><td>This field displays an alternative item number 1 for the item, providing additional identification.</td></tr><tr><td>Alternative Item Number2</td><td>This field displays an alternative item number 2 for the item, providing additional identification.</td></tr><tr><td>Alternative Item Number3</td><td>This field displays an alternative item number 3 for the item, providing additional identification.</td></tr></tbody></table>

Once the orders are linked, you can go to the "Linked Orders" tab to see the linked orders.

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

Once the orders are linked, the sales rep will get a notification when the items on the purchase order are received or those on the manufacturing orders are produced.

### Creating a linking directly from the orders

You can also create the linking directly from the Purchase Order/Sales Order/Manufacturing Order. To do that, open the order and go to Options > Link Orders.

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

You will be navigated to the Order Linker module. From here you can select the order type, and order number and add the linking by following the steps mentioned above.

<figure><img src="/files/YErydBiXeALmZRPrz72k" 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://docs.xorosoft.com/xoroerp-1/admin/what-is-an-order-linker/creating-an-order-linking.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.
