> 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/inventory/physical-vs-actual-stock-doc-wise-entry/physical-vs-actual-stock-doc-wise-entry-configuration/do-not-allow-physical-quantity-editing-in-grid.md).

# Do Not Allow Physical Quantity Editing in Grid

**YouTube:** [How to Disable Physical Quantity Editing in the Grid in Physical vs. Actual Stock Entry?](https://youtu.be/bIkz7o1P7gA?si=ndQhoYy2ZaZDoO2H)

## How to Disable Physical Quantity Editing in the Grid in Physical vs. Actual Stock Entry?

In this tutorial, we will learn how to restrict manual editing of physical quantities in the grid in the **Physical Vs Actual Stock Document Wise Entry** module in Logic ERP.

***

### Access to the Configuration

* Navigate to the **Physical Vs Actual Stock Document Wise Entry** module.
* Open the **Configuration** window. (The **Configuration** button is available only to the Admin user or a supervisor user.)
* Locate the option labeled as:

> **Do Not Allow Physical Quantity Editing in Grid.**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fri4po5bTFK6LNdDSMrgX%2FCNF.png?alt=media&#x26;token=09344a72-410e-44af-a719-8fc3163f2f78" alt=""><figcaption></figcaption></figure>

* This feature prevents users from manually entering or modifying physical quantities directly in the grid when enabled.

***

### Verify the Feature When Disabled

* Keep the **Do Not Allow Physical Quantity Editing in Grid** option disabled.
* Save the configuration and return to the entry window.
* Try to enter or modify the physical quantity manually in the grid.
* As you can see, the physical quantity field remains editable.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FMSapls0OWiexc1nbROea%2FEditable.png?alt=media&#x26;token=7b71c020-0d31-4c4e-bcf5-d5e3dea13e72" alt=""><figcaption></figcaption></figure>

* Users can directly enter or modify the physical stock.
* Exception: when **Barcode As** is **Lot Code + Pcs No** or **Org Lot Code + Pcs No**, the physical quantity cannot be edited even with this option disabled (the system shows **"Cannot Be Edited"**).

***

### Enable the Restriction

* Open the **Configuration** window again.
* Enable the **Do Not Allow Physical Quantity Editing in Grid** option.
* Save the configuration and return to the entry window.

**Verify the Feature When Enabled**

* Try to enter or modify the physical quantity directly in the grid.
* As you can see, the physical quantity field is now locked and does not allow manual editing.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FjiaaQ4jlXC15f7mse8dW%2FNon-Editable.png?alt=media&#x26;token=60c4f24c-378f-4ff5-b45e-6490893b7180" alt=""><figcaption></figcaption></figure>

* Users can update the physical quantity only by scanning the item (or by importing a stock file).

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FVRKJEsdodA6Vg2arv168%2FScanning.png?alt=media&#x26;token=89dda597-ab39-4908-b179-3d0c7aaccb2b" alt=""><figcaption></figcaption></figure>

***

### Objective of This Feature

* Prevent manual editing of physical quantities directly in the grid.
* Ensure physical stock quantities are updated through item scanning or import.
* Reduce the risk of incorrect stock entries.
* Maintain greater accuracy in physical stock verification.


---

# 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/inventory/physical-vs-actual-stock-doc-wise-entry/physical-vs-actual-stock-doc-wise-entry-configuration/do-not-allow-physical-quantity-editing-in-grid.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.
