# Stock Allocation

<details>

<summary>Media</summary>

<img src="https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FRzDW9hGUWYGeOgcarbfQ%2FEducation_(121).jpg?alt=media&#x26;token=d696a228-b57d-4b6a-8dfe-cd027a44018f" alt="" data-size="line">[Stock Allocation](https://salesorder.wistia.com/medias/crq70acffh)

</details>

### Stock Allocation - need to know

The purpose of stock allocation is to reserve or ring-fence stock for a Sales Order. Stock allocation decreases the balance of free stock. When you allocate stock you increase the on-hand balance by the amount of stock allocated.

Stock allocation is a mandatory step preceding the creation of a Shipment.

The configuration of the Sales Order determines whether or not, and how the stock is allocated. See [<mark style="color:blue;">Sales Order ⛭</mark>](https://helpwith.salesorder.com/setup/configuration/sales-order) config.

### Allocation Indicators on Line Items

**When saved** the LIne Items on the Sales Order will display the allocation status per line item, or the invoiced status.

**When in Edit mode** the Line Items on the Sales Orders will display how much allocation can be done.

![](https://2650739216-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnVmamp3TnQON29mRg6Hg%2Fuploads%2FmSAbN3xqNoym3GwlRosK%2Fimage.png?alt=media\&token=32078487-e921-46a4-bad0-9aec8e142f93)

The **Allocation column** on the Line Item Table displays the amount of stock allocated versus the quantity ordered.

### Allocation Indicators on the Sales Order List <a href="#kdnc5gmmc92c" id="kdnc5gmmc92c"></a>

You can determine which orders can be allocated in the list by using the action 'List Orders requiring allocation'. The list will display to what extent allocation is possible on each Sales Order, specifically (see above),

* Cannot Allocate
* Can Partially Allocate
* Partially Allocated

### Unallocating (deallocating) Stock

You can deallocate stock from a single or multiple Sales Orders.

#### Deallocate stock from a single Sales Order

Put the Sales Order in the '<mark style="color:orange;">Edit'</mark> state.

Either deallocate all Items using:

The <mark style="color:orange;">Sales Order>Actions>Unallocate Stock</mark>

OR

The <mark style="color:orange;">Sales Order>Action Bar>Edit Allocation</mark>

In the respective line item column cell, adjust the allocated quantity.

<mark style="color:orange;">Save</mark> the Sales Order.

#### Deallocate stock from multiple Sales Orders.

This action deallocates stock from selected Sales Orders.

<mark style="color:orange;">Select</mark> the Sales Orders you wish to unallocate.

<mark style="color:orange;">Sales>Sales Orders>Allocating>Unallocate Stock</mark>
