# Setup Branch Wise Stock Limit for Billing

**YouTube:** [How to Configure Branch-Wise Stock Value Limit Restrictions in Sales Bills?](https://youtu.be/IEpgtnAyuLQ)

## How to Configure Branch- Wise Stock Value Limit Restrictions in Sales Bills?

In this tutorial, you will learn how to **define stock value limits for each branch** in Logic ERP.\
This feature helps control **inventory usage and prevents over-selling beyond defined stock value limits**.

***

### Open Stock Limit Setup

**To begin:**

* Go to the **Setup Module** from the main menu
* Navigate to **Branch Setup Section**
* Open **Setup Branch Wise Stock Limit for Billing**

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

This window allows you to define **maximum stock value limits per branch**.

***

### Select Branch & Rate Type

* Select the **Branch**

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

* Choose **Rate Type**:
  * **Lot Wise**
  * **Item Wise**

<div><figure><img src="/files/XC3g71pKunu40qKpSb6l" alt=""><figcaption></figcaption></figure> <figure><img src="/files/DGVWgFU0Z0AA3EHshMFn" alt=""><figcaption></figcaption></figure></div>

* Select the required **Rate** from the dropdown

Rate selection determines how stock value will be calculated.

***

### Define Stock Limit

* Enter the **Stock Value Limit**

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

This is the **maximum allowed stock value** for billing transactions.

**Save & Review**

* Click **Save All**
* Click **Refresh** to view saved configurations

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

***

### Check Current Stock Value

Before Implementing, verify stock value:

* Go to **Stock Query Report**
* Select the **Branch**
* Generate the Report

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

* This shows the **current closing stock value** based on Sale Rate.

***

### Perform Sales Transaction

* Navigate to the **Sales Bill Window**
* Create a **New Entry**
* Select the **Customer**
* Enter Item Details

**Stock Limit Validation**

* While saving the bill:
* **If Within Limit:**
  * Transaction is saved successfully
* **If Limit Exceeded:**
  * System restricts the entry
  * Displays message

> *"Stock Value exceeds Stock Limit set for this Branch.... Cannot Allow Saving."*

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

***

### How Stock Limit Control Works

* System calculates:
  * **Current Stock Value + Transaction Value**
* Compares with:
  * **Defined Stock Limit**

Restricts billing if limit is exceeded

***

### Key Benefits of Stock Limit Control

* Prevent over-selling beyond stock value
* Maintain inventory discipline
* Control branch-level stock usage
* Real-time validation during billing
* Improve stock management accuracy

***

### Final Outcome

You have successfully learned how to:

* Set **Branch Wise Stock Limits**
* Define **Rate-Based Stock Value Calculation**
* Validate transactions during **Billing**
* Restrict entries beyond allowed limits

Your system is now optimized for **controlled and efficient inventory management**.


---

# 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://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/setup-accounts/branch-setup/setup-branch-wise-stock-limit-for-billing.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.
