> For the complete documentation index, see [llms.txt](https://doc.simax.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.simax.fr/documentation-simax-anglais/functional/multi-company-management/branch-orders.md).

# Branch orders

## Context:

EK France orders 950 chairs from MASOCIETE headquarters. At the time of the order, the head office had 845 chairs in stock. Aware that the sales agency had a stock of 150 chairs, the head office accepted EK France's order and ordered the necessary complement from its sister company, the sales agency.

## Implementation in Simax&#x20;

First, you need to check the chair stocks in each establishment by going to **Stock > Stock status**, then filter by establishment and item.

Here's for Head office

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

Here's for Sales agency

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

We can then launch the EK France order by clicking on **Sales > Order > Create Order.**

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

{% hint style="danger" %}
there is a visible restock in the order lines \[Replenishment].
{% endhint %}

This requires a replenishment calculation. Click on **Purchase > Replenishment > Replenishment calculation.**

<figure><img src="/files/00zTmpLjKQ0cNA8Uh5xb" alt=""><figcaption></figcaption></figure>

Finish with **\[\[Launch the calculation]].**

The list replenishment to process appears.

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

So there are 105 chairs missing from Headquarters.

This time, as we will be replenishing supplies from the Sales Agency, we need to modify :

* the supplier "Sales agency"
* Price list if required.

And **\[\[Save]]**.

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

The supplier is now sales Agency.

<figure><img src="/files/7J1E9qgZvPHmACmUIXI1" alt=""><figcaption></figcaption></figure>

We can now validate the approach by clicking on **|Supply validation|**.

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

The replenishment has become a supplier order. Sales agency behaves like a supplier.

<figure><img src="/files/5uasXm4asZh2s5uLaJQX" alt=""><figcaption></figcaption></figure>

The sales agency must deliver the order to the headquarter before the latter can accept it. The headquarter must only accept items specifically delivered by the commercial agency.

For example, if items are tracked by serial number and the agency delivers items numbered 2222 and 3333, headquarter cannot record the receipt of an item with the number 4444. This ensures inventory consistency and accuracy.


---

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.simax.fr/documentation-simax-anglais/functional/multi-company-management/branch-orders.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
