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