> For the complete documentation index, see [llms.txt](https://kb.logicerp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/billing/packing-slip/packing-slip-configuration/lock-auto-allocate-stock.md).

# Lock Auto Allocate Stock

**YouTube:** [How to Disable the Auto Stock Allocation Option in Packing Slips?](https://youtu.be/eaViYx_rn1M)

## How to Disable the Auto Stock Allocation Option in Packing Slips?

In this tutorial, we will learn how to **lock the Auto Allocate Stock option** in Logic ERP to ensure that stock is allocated only by scanning item codes.

***

### Understand the Default Behavior

* Initiate a new **Packing Slip** entry.
* Select the required **Customer**.
* Search for and select the required **Sales Order**.

**Result:** Once the Sales Order is retrieved, you can allocate the required quantity either by:

* Scanning the **Item Code**

&#x20;                       Or

* Using the **Auto Allocate Stock** option to allocate the total Sales Order quantity.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F23zAZfXZkJI1kUGpWbVz%2FDefault.png?alt=media&amp;token=fdeb59f4-5956-4591-8de5-a9c13916ea11" alt=""><figcaption></figcaption></figure>

***

### Access to the Lock Auto Allocate Stock Configuration&#x20;

* Open the **Packing Slip Configuration** window.
* Navigate to the **Other Options Four** section.
* Locate and enable the option labeled as:

> **"Lock Auto Allocate Stock"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FU3LcZEV0IAesVcqVH8H3%2FCNF.png?alt=media&amp;token=ab48eda7-ff35-4d51-929e-b017d0be9273" alt=""><figcaption></figcaption></figure>

* Save the configuration changes.

***

### Verify the Configuration

* Initiate a new **Packing Slip** entry.
* Select the required **Customer**.
* Retrieve the required **Sales Order**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FWuWv31rHql5BDP8BLjvj%2FOff.png?alt=media&amp;token=8c5b84b5-40cf-4c30-84be-4f2e38d2b33b" alt=""><figcaption></figcaption></figure>

**Result**

The **Auto Allocate Stock** option is now locked.

The stock can only be allocated by **scanning the Item Code**, ensuring controlled and manual stock allocation during Packing Slip entry.

***

### Key Benefits

* **Controlled Allocation:** Prevents automatic stock allocation.
* **Scan-Based Process:** Ensures quantities are allocated through item scanning.
* **Improved Accuracy:** Reduces the possibility of unintended stock allocation.
* **Better Control:** Helps maintain a consistent Packing Slip workflow.


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/billing/packing-slip/packing-slip-configuration/lock-auto-allocate-stock.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.
