# Do Not Allow Date Change of Transacted Purchase

**YouTube:** [How to Prevent Voucher Date Changes in Purchase If Transactions Already Exist?](https://www.youtube.com/watch?v=GdifJ9BJMBE)

## How to Prevent Voucher Date Changes in Purchase If Transactions Already Exist?

This tutorial explains how to enable a setting in **Logic ERP** that prevents users from changing the date of a **transacted purchase voucher**, enhancing data consistency and audit control.

***

### **Step-by-Step Configuration:**

* Open the **Logic Folder** and run **Logic Admin**.
* Go to **Global Settings**.
* Navigate to the **Purchase** tab.
* Locate and enable the option: **“Do Not Allow Date Change of Transacted Purchase”**

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

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

***

### **Effect of This Configuration**

* When a user attempts to **modify the bill date** in a purchase voucher that has already been transacted (i.e., the items have been sold or used in another transaction), the system will block the action.
* An error message will appear stating:\
  \&#xNAN;**“**&#x54;ransactions exist for this purchase voucher.... Cannot allow date chang&#x65;**.”**

<figure><img src="/files/M60BLU7WjYrW1KoT1tqY" alt=""><figcaption><p>This picture illustrates that the system blocks bill date changes if transactions exist, showing:<br><strong>"Transactions exist... Cannot allow date change."</strong></p></figcaption></figure>

***

### **Purpose**

* This restriction ensures data integrity by preventing changes to dates in purchase vouchers that are already linked to subsequent transactions, such as sales or stock transfers.


---

# 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/purchase/do-not-allow-date-change-of-transacted-purchase.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.
