> 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/user-access/logic-global-admin/sale-return/do-not-link-sale-return-with-sale-through-sale-history.md). Agents can also search and read this documentation through its [MCP server](https://kb.logicerp.com/~gitbook/mcp).

# Do not Link Sale Return with Sale through Sale History

**YouTube:** [How to Disable Sale Return Linking via Sale History?](https://www.youtube.com/watch?v=zaYpmLp4fn4)

## How to Disable Sale Return Linking via Sale History?

In this tutorial, we will explore a setting in **Logic ERP** that **prevents the automatic linking of sale returns with the original sale bills** through the **Sale History** window. This is useful when you want to manage returns independently of the original transactions.

***

### **Enable the Feature in Global Settings**

* Open **Logic Admin** and go to **Global Settings**.
* Navigate to the **Sale Return Settings** section.
* Locate and enable the option: **“Do not Link Sale Return with Sale through Sale History”.**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FkJPiCQNRmDogu1C07G0h%2FGlobal%20Admin%20-%20Do%20not%20Link%20Sale%20Return%20with%20Sale%20through%20Sale%20History.png?alt=media&amp;token=ba0dcb08-4b1f-45fd-8b7f-ac3de0fb567f" alt=""><figcaption><p>Let's proceed with this option turned on to understand its practical implications in Voucher entry.</p></figcaption></figure>

* Click **Save** to apply the setting.
* **Restart the Logic ERP software** for the changes to take effect.

***

### **Process a Sale and Return Entry**

* First, create and **save a sale bill** with item details.
* Now, go to the **Sale Return** module to return an item from that bill.
* When selecting the **lot number**, the **Sale History window** will appear.
* Select the original sale bill (for demonstration) and **save the return entry**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FS85xrGXXupSsozi36d8T%2FPrompt%20for%20Sale%20History.png?alt=media&amp;token=287d43c9-6708-443b-8970-228c9d9868a2" alt=""><figcaption></figcaption></figure>

> With the setting enabled, the system will **not link** this sale return to the selected sale bill—even though it was chosen during the return process.

***

### **Verify the Restriction**

* Begin another **sale return entry**.
* When the **Sale History** window appears.
* You'll see that the **previous sale bill** still appears as **unadjusted**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fcfr7hgBLj3kf4ZBQ8zPP%2FPrompt%20for%20Sale%20History.png?alt=media&amp;token=79946305-a032-4b8e-82e2-e65cfc97ee69" alt=""><figcaption></figcaption></figure>

* This confirms that **no link** was established with the sale return.

***

### **Conclusion**

The **“Do not Link Sale Return with Sale through Sale History”** setting in Logic ERP is ideal for businesses that want greater control over return processing, keeping them independent from original invoices. It ensures flexibility in return management while maintaining clear transaction records.


---

# 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/user-access/logic-global-admin/sale-return/do-not-link-sale-return-with-sale-through-sale-history.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.
