> 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/inventory/stock-transfer-godown-wise/stock-transfer-godown-wise-configuration/check-for-negative-stock.md).

# Check for Negative Stock

**YouTube:** [How to Restrict Negative Stock in Godown Wise- Stock Transfer](https://www.youtube.com/watch?v=pXZAhBqJSwE)[?](https://www.youtube.com/watch?v=pXZAhBqJSwE)

## How to Restrict Negative Stock in Godown Wise- Stock Transfer?

In this tutorial, we will explain **how to restrict stock from becoming negative** in the **Godown-wise Stock Transfer Voucher** in **Logic ERP**.

***

### When Negative Stock Restriction Is Disabled

* First, let us review the default configuration.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FWPf47TXzWbtoIcRYVTwM%2FDefault%20Configuration.png?alt=media&amp;token=a5889b12-1bf1-4215-bbc9-fc4481eec141" alt=""><figcaption></figcaption></figure>

* Open the **Godown-wise Stock Transfer** module.
* Define the **Godown From** and **Godown To**.
* Initiate a new stock transfer entry.
* As shown, the available stock for the selected item lot is **9 units**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FJHPuMU5xqaiTHB5mzQv1%2FTotal%20Qty.png?alt=media&amp;token=1b38137e-ec29-4d05-aa15-321d5dabd6de" alt=""><figcaption></figcaption></figure>

* Enter a transfer quantity of **10 units**, which exceeds the available stock.
* Since the **Check for Negative Stock** option is disabled, the system allows you to **save the entry** despite insufficient stock.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F67d6HwWpt4QIJbynGgYp%2FSave.png?alt=media&amp;token=f973f98d-ae07-4009-af84-4b810bf9cee1" alt=""><figcaption></figcaption></figure>

#### Impact of This Setting

* Open the **Sales Bill** window.
* You will observe that the item stock has gone into **negative quantity**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F8ktS3m3IHCb6d5OL0k9g%2FNeg.png?alt=media&amp;token=871e9daa-5f5a-4720-88d7-3a13305d33d1" alt=""><figcaption></figcaption></figure>

This may lead to inventory inaccuracies and reporting issues.

***

### Enable Restriction for Negative Stock

To prevent this, enable the negative stock validation.

* Return to the **Godown-wise Stock Transfer** module.
* Open **Configuration**.
* Navigate to **Other Settings**.
* Enable the option **Check for Negative Stock**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FuU4RD8lMX9YDhZM4DDEv%2FCon%202.png?alt=media&amp;token=6cfc032f-e251-4091-9c82-d636892bfc85" alt=""><figcaption></figcaption></figure>

* Save the configuration.

***

### Behavior After Enabling the Restriction

* Initiate a **new Stock Transfer Transaction**.
* Select the item and lot.
* As shown, the available stock for this lot is **99 units**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FoOlAZJuCT2G7RyiUGetZ%2F99.png?alt=media&amp;token=cf09d478-351e-4ef7-a586-1b7560985447" alt=""><figcaption></figcaption></figure>

* Try to enter a quantity **greater than the available stock**.
* The system immediately displays an **Insufficient Stock** message and **prevents the entry from being saved**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F9uNn0AbQ4YbkaCT4RVIV%2FError%20Prompt.png?alt=media&amp;token=8ef02965-b710-486d-8f5f-70d6030b3c79" alt=""><figcaption></figcaption></figure>

***

### Result

* Stock transfer entries cannot be saved if sufficient stock is not available
* Prevents inventory from going into negative
* Ensures accurate stock reporting across godowns
* Improves inventory control and data integrity

***

### Summary

* Negative stock can occur if validation is disabled
* Enabling **Check for Negative Stock** ensures strict stock control
* System automatically restricts excess quantity entry
* Recommended for accurate and reliable inventory management


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/inventory/stock-transfer-godown-wise/stock-transfer-godown-wise-configuration/check-for-negative-stock.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.
