> 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-stock-verification-of-puv/physical-stock-verification-of-puv-configuration/do-not-allow-import-stock-from-ext-file..md).

# Do not Allow Import Stock From Ext File.

**YouTube:** [How to Prevent Stock Import From External Files in Physical Stock Verification (PUV)?](https://www.youtube.com/watch?v=Z7oEbjW4fqY)

## How to Prevent Stock Import From External Files in Physical Stock Verification (PUV)?

In this tutorial, we will learn how to restrict users from importing stock quantities from an external file during Physical Stock Verification of a Purchase Voucher in Logic ERP.

***

### Objective of This Feature

* Prevent stock data from being imported from external files.
* Ensure physical quantities are entered manually or through scanning.
* Improve control over the stock verification process.
* Prevent unauthorized or inaccurate external stock updates.

***

### Access to the Physical Stock Verification Configuration

* Go to the **Physical Stock Verification of Purchase Voucher** module.
* Open the **Configuration** window.
* Locate the option labeled as:

> **"Do not Allow Import Stock From Ext File"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fhke897IXVHjqThvVvPZS%2FCNF.png?alt=media&amp;token=faaab48a-1f9d-4703-b42a-4b337aa034cb" alt=""><figcaption></figcaption></figure>

Enabling this option prevents users from importing stock quantities from an external file during the Physical Stock Verification process.

***

### Observe the Default Behavior

Before enabling the restriction:

* Select the required **Voucher Type**.
* Choose **Purchase Voucher** for Physical Stock Verification.
* As the feature is currently disabled, the **Import Stock from TXT File** option is available.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F74YR5Zpt0jkiSTpUCEti%2Foption%20available.png?alt=media&amp;token=64b9b3b0-7d6e-47b0-ab9e-a66b5b33d6af" alt=""><figcaption></figcaption></figure>

This option allows users to import physical stock quantities from an external file.

***

### Import Stock from an External File

For demonstration, we have prepared the required stock details in an Excel file.

* Open the **Import Stock from TXT File** option.
* Select the prepared external file.
* Import the stock details.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FYzKIuCh75UjVjSFTIohv%2FExl%20Imp.png?alt=media&amp;token=96450acc-c49e-45b5-ad30-14fa1c7d08c0" alt=""><figcaption></figcaption></figure>

**Result**

The physical quantities from the external file are successfully imported and updated in the Physical Stock Verification window.

***

### **Now, let's observe the behavior after enabling the feature.**

* Now, return to the **Physical Stock Verification Configuration** window.
* Enable: **"Do not Allow Import Stock From Ext File"**
* Save the configuration.

**Observe the Impact**

* Return to the Physical Stock Verification window and select the Purchase Voucher option.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FaM9Po5ltnyI0uVzPddQf%2FDisabled.png?alt=media&amp;token=061598ed-e096-497d-a08c-3b06475ebe7a" alt=""><figcaption></figcaption></figure>

**Result**

The **Import Stock from TXT File** option is no longer available.

This prevents users from importing physical stock quantities through external files.

***

### Key Benefits

* Prevents external stock data imports.
* Provides better control over physical stock verification.
* Reduces the possibility of unauthorized quantity updates.
* Ensures quantities are verified manually or through item scanning.
* Improves the reliability of physical stock verification.

***

### Final Outcome

Once **"Do not Allow Import Stock From Ext File.."** is enabled, users cannot import stock quantities from external files during Physical Stock Verification of Purchase Vouchers. Physical quantities must instead be entered manually or updated through item scanning, ensuring better control and accuracy in the verification process.


---

# 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-stock-verification-of-puv/physical-stock-verification-of-puv-configuration/do-not-allow-import-stock-from-ext-file..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.
