> 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/setups/configurations/sale-voucher-configuration/other-settings-1/show-lots-for-current-branch-only-sale-return.md).

# Show Lots for Current Branch Only (Sale Return)

**YouTube:** [How to Display Lots from the Current Branch Only in Sale Return?](https://www.youtube.com/watch?v=9yFYpnlwe9o)

## How to Display Lots from the Current Branch Only in Sale Return?

In this Tutorial, you'll learn how to configure Logic ERP to display only the lots belonging to the current branch during sale return entries. This feature helps ensure accurate inventory management by preventing the selection of lots from other branches. We'll guide you step-by-step through enabling the setting in the sale return series configuration and demonstrate its impact during billing.

***

### Access Sales Voucher Configuration:

* Navigate to **Sales Voucher Configuration**.
* Select the **relevant Billing Series**.
* Locate and disable the Feature labeled:  **"Show Lots for Current Branch Only (Sale Return)"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fy4a9FodR0cGY8GTDNUFK%2F1.png?alt=media&amp;token=9dc0902c-2d90-4644-89cc-a1b1d0580c63" alt=""><figcaption><p>Let's proceed with this option turned off to understand its practical implications in billing.</p></figcaption></figure>

* Save the configuration and **restart the software** to apply changes.

***

### **Observe the Difference**

***With Feature Disabled*****:**

* When processing a **sale return**,\
  the **lot selection window** displays **lots from all branches**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FDF5FqphZonYpbitpKsJz%2FW-O.png?alt=media&amp;token=76a6218d-f169-4334-b5f6-2080f92281ef" alt=""><figcaption></figcaption></figure>

***With Feature Enabled*****:**

* The lot selection window displays **only the lots associated with the current branch**,\
  ensuring **branch-specific inventory control**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FmRoPkHxyHUe6ymsvCFaF%2FWith.png?alt=media&amp;token=e148d05a-43c7-41ac-a6d6-bd5109d820b5" alt=""><figcaption></figcaption></figure>

***

### **Conclusion**

This setting helps maintain inventory integrity by ensuring users can only select and return items from their **own branch’s stock**, avoiding cross-branch discrepancies during sale returns.


---

# 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/setups/configurations/sale-voucher-configuration/other-settings-1/show-lots-for-current-branch-only-sale-return.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.
