> 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/purchase/do-not-allow-change-in-rates-of-transacted-lots.md).

# 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&amp;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.


---

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