> 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="/files/Cs1bZcsVaVKhJhT9CtUW" 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="/files/EauYMNGgncHUoNkzBVRC" 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="/files/G9XSGDHcvIutpWau7NWq" 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="/files/63P8SIDIkhZWu3QXjeHr" 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
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=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
