> 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/allow-scan-item-code-additional-set-code-in-set-wise-scanning.md).

# Allow Scan Item Code/Additional Set Code In Set Wise Scanning

**YouTube:** [How to Allow Item Code/Additional Set Code Scanning in Physical vs. Actual Stock Document-Wise Entry?](https://youtu.be/MrSrPYeQdd4?si=kjoKTHQbBxuYK0P8)

## How to Allow Item Code/Additional Set Code Scanning in Physical vs. Actual Stock Doc-Wise Entry?

In this tutorial, we’ll learn how to enable the **“Allow Scan Item Code/Additional Set Code In Set Wise Scanning”** feature. When **Barcode As** is set to **Set Code**, this feature lets users scan an additional set code or an item code as well as the set code, which gives more flexibility during physical stock verification.

***

### Access to the Configuration

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

> **“Allow Scan Item Code/Additional Set Code In Set Wise Scanning”**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FoD5tA0AaXGhJyXNj1dhk%2FCNF%20-%20Default.png?alt=media&#x26;token=3c60d87d-3edd-4d2b-8a69-40b142713e0f" alt=""><figcaption></figcaption></figure>

* Initially, we will verify the system’s behavior while this feature is disabled.

**Let’s proceed to verify the scanning functionality with the feature disabled.**

***

### Verify Scanning When the Feature Is Disabled

* Set the **Barcode As** field to **Set Code**.
* Scan the set using the **Set Code**.
  * The system successfully scans the set.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FgHh1yzWnu8OwMv8uDZfb%2FBarcode%20As%20Set%20Code.png?alt=media&#x26;token=8e7ed5ab-3430-47a4-94b0-89b981199ad6" alt=""><figcaption></figcaption></figure>

* Next, scan the set using the **Item Code**.
  * The system rejects the scan with the message **"Invalid BarCode"**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FllCJCkubH03Jcj7IV2Tj%2FBarcode%20As%20Item%20Code.png?alt=media&#x26;token=e3f23672-85e9-4de8-8ee3-8cf440283507" alt=""><figcaption></figcaption></figure>

* Now, scan the set using the **Additional Set Code**.
  * The system rejects this scan as well.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FIRjL6QKJlPLc1X2mwFBo%2FBarcode%20As%20Add%20Set%20Code.png?alt=media&#x26;token=94b70cd8-bdc5-4fdb-88e3-45b3f66ca5c1" alt=""><figcaption></figcaption></figure>

* Since the configuration is disabled, the system permits scanning only through the set code.

**This confirms that item code and additional set code scanning are not allowed when the feature is disabled.**

***

### Enable the Configuration

* Return to the configuration settings.
* Enable **“Allow Scan Item Code/Additional Set Code In Set Wise Scanning.”**
* Save or apply the configuration, if required.
* Proceed to verify the scanning functionality with the feature enabled.

**The configuration is now enabled. Let’s test the scanning process again.**

***

### Verify Scanning When the Feature Is Enabled

* Scan the set using the **Set Code**.
  * The system successfully scans the set.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F3mJUoaZm0fvYM2LvRm8k%2FScen%20As%20Set%20Code.png?alt=media&#x26;token=395530ce-6579-492f-8864-1386c1aef847" alt=""><figcaption></figcaption></figure>

* Next, scan the set using the **Additional Set Code**.
  * The system successfully identifies and scans the set.
  * Note: an additional set code made up only of digits is read as a set code, so the additional set code should contain letters.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F1ABQF14rziMR0xULZMCk%2FScan%20As%20Add%20Set%20Code.png?alt=media&#x26;token=cab749bd-a4c1-405c-bf76-16c0c9a9b90e" alt=""><figcaption></figcaption></figure>

* Finally, scan an **Item Code**.
  * The system accepts the item code and adds **only that item, with a quantity of 1**. It does not add the whole set.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FnXzehCMZkHRo9hU737QA%2FScan%20As%20Item%20Code.png?alt=media&#x26;token=c4a855c8-8dff-4433-a040-749ecb9b5622" alt=""><figcaption></figcaption></figure>

* The system now accepts all three code types during set-wise scanning.

**This confirms that enabling the feature allows scanning through set codes, additional set codes and item codes.**

***

### Conclusion / Result

* **Feature Disabled:** Only the set code is accepted during set-wise scanning. Item codes and additional set codes are rejected.
* **Feature Enabled:** Set codes and additional set codes are accepted and add the whole set. An item code is also accepted, but it adds only that single item with a quantity of 1.
* **Applies to:** **Barcode As** = **Set Code**. With **Barcode As** = **Set Name**, item codes are accepted the same way; with any other Barcode As value the option has no effect.
* **Key Benefit:** This feature provides greater flexibility in barcode scanning and makes physical stock verification more convenient and efficient.

**With this configuration enabled, users can scan using any of the three supported code types, simplifying the stock 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-vs-actual-stock-doc-wise-entry/physical-vs-actual-stock-doc-wise-entry-configuration/allow-scan-item-code-additional-set-code-in-set-wise-scanning.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.
