# Do not allow change in rates of transacted Lots

**YouTube:** [How to Restrict Editing of Already Transacted Lots/ Batches in Purchase?](https://www.youtube.com/watch?v=dKVg7vI4K6I)

## How to Restrict Editing of Already Transacted Lots/ Batches in Purchase?

This tutorial explains how to enable a setting in Logic ERP that **prevents modification of rates** for lots that have already been transacted, ensuring pricing consistency and data integrity.

***

### **Enable the Setting in Logic Admin**

* Open the **Logic** installation folder.
* Launch **Logic Admin**.
* Go to **Global Settings**.
* Navigate to the **Purchase** tab.
* Enable the checkbox labeled: **“Do not allow change in rates of transacted Lots”**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F2w4i9mdlFN8dG3TDHC5b%2FAdmin%20Setup.png?alt=media&#x26;token=b0e6c3c9-4618-4c4c-99c9-fbba97ddf8da" alt=""><figcaption></figcaption></figure>

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

***

### Implement **the Restriction in a Purchase Voucher**

* Open Logic ERP and create a **Purchase Voucher**.
* Select a lot (e.g., **Lot 1299**) and **modify its rate**.
* Save the voucher.

***

### **Attempt to Change the Rate Again**

* Try to create another purchase entry for the **same item and lot**.
* Press **F5** to edit/view the rate for the selected lot.
* You will observe that the **rate cannot be changed**, as the restriction is now enforced.

***

### **Summary**

This feature ensures that once a lot has been used in a transaction, its rate is locked to maintain consistency across all purchase entries. It is especially useful for audit control and preventing unintentional pricing discrepancies.
