> 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/sale-settings-2/do-not-allow-sale-return-deletion.md).

# Do Not Allow Sale/Return Deletion

**YouTube:** [How to Globally Restrict Deletion of Sale and Sale Return Vouchers?](https://www.youtube.com/watch?v=8ZEuLzeK7og)

## How to Globally Restrict Deletion of Sale and Sale Return Vouchers?

This tutorial demonstrates how to prevent users from deleting sale or sale return vouchers in Logic ERP.

***

### **Steps to Enable Deletion Restriction**

* Open the **Logic** folder and launch **Logic Admin**.
* Click on **Global Settings**.
* Navigate to the **Sales Settings - 2** tab.
* Locate and enable the option labeled: **"Do Not Allow Sale/Return Deletion"**

<figure><img src="/files/4csNRuMK2Mq22gtvgVIm" alt=""><figcaption><p>Let's keep this feature enable to observe its impact in Billing.</p></figcaption></figure>

* Click **Save** to apply the changes.
* **Restart the software** to activate the setting.

***

### **Verify the Configuration**

* Attempt to delete a **Sale** or **Sale Return** voucher.
* The **Delete** option will be disabled, and deletion will no longer be possible.

<figure><img src="/files/zUmVyMA7o8zZQVHiYZzg" alt=""><figcaption><p>As shown in the picture, the delete button has been hidden.</p></figcaption></figure>

***

### **Benefits of Enabling This Setting**

* **Prevents Unauthorized Deletions** – Ensures sales data cannot be removed without oversight.
* **Improves Data Integrity** – Maintains a consistent and auditable sales history.
* **Supports Accurate Reporting** – Avoids gaps or discrepancies in sales records.
* **Enhances Security** – Helps protect against accidental or intentional loss of transaction data.


---

# 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/user-access/logic-global-admin/sale/sale-settings-2/do-not-allow-sale-return-deletion.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.
