> 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/billing/packing-slip/packing-slip-configuration/search-barcode-against-all-barcode-types.md).

# Search Barcode against all Barcode Types

**YouTube:** [How to Auto-Detect the Barcode Type While Scanning in Packing Slips?](https://youtu.be/yDN0yFJt4i4)

## How to Auto Detect the Barcode Type While Scanning in Packing Slips?

In this tutorial, we will learn how to use the **"Search Barcode against all Barcode Types"** option in Logic ERP to scan and identify items using different barcode types during Packing Slip entry.

***

### Objective of This Feature

* Search items using multiple barcode types
* Scan Lot Code and Additional Item Code
* Support Lot Number and Lot Piece Number scanning
* Enable flexible barcode-based item identification
* Improve efficiency during Packing Slip entry

***

### Observe the Default Behavior

* Initiate a **New Packing Slip** entry.
* Select the required customer.
* Retrieve the required **Sales Order**.
* Navigate to the **Item Details** section.
* By default, the system allows item scanning using the **Item Code**.
* However, if you try to scan another barcode type, such as:
  * **Additional Item Code**
  * **Lot Code**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Ft91VZdF5bLMYByrLpQbq%2FDefault.png?alt=media&amp;token=56e89e39-7790-4a00-990e-9f165dcaa4c9" alt=""><figcaption></figcaption></figure>

the software restricts the action and displays an error message because the barcode is not being searched across all barcode types.

***

### Access to the Packing Slip Configuration

* Open the **Packing Slip Configuration** window.
* Navigate to the **Other Options 2** section.
* Locate and enable the option labeled as:

> **"Search Barcode against all Barcode Types"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FQpiR1CYCxZUXcZNYNjfs%2FCNF.png?alt=media&amp;token=4c97a346-21bc-43ab-851c-79c30772235b" alt=""><figcaption></figcaption></figure>

* Save the configuration changes.

***

### Create a New Packing Slip

* Initiate a **New Packing Slip** entry.
* Select the required customer.
* Retrieve the required **Sales Order**.
* Navigate to the **Item Details** section.
* The **Item Code** can still be scanned as usual.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Ft3Rdf2wQWTBQm8vlnirr%2FItem%20Code.png?alt=media&amp;token=1be503ad-071e-436b-8fbf-0f7be1ae422c" alt=""><figcaption></figcaption></figure>

***

### Scan Different Barcode Types

**Scan Lot Code**

* Scan the **Lot Code** in the item code field.
* The software successfully identifies the corresponding item.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FMU57dnmWqbwYNj9a4HHb%2FLot%20Can.png?alt=media&amp;token=529f6a01-c771-4589-9eb6-4f38d57e14db" alt=""><figcaption></figcaption></figure>

**Scan Additional Item Code**

* Scan the **Additional Item Code** defined in the Item Master.
* The software successfully identifies and retrieves the item.

**Other Supported Barcode Types**

* Similarly, you can scan other available barcode types, such as:
  * **Lot Number**
  * **Lot Piece Number**
  * **Set Code**
  * Other configured barcode types

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FYdQF1v8TwugcUFcLXYrP%2FFinal%20Scan.png?alt=media&amp;token=97d30e47-7c6c-483a-b5e9-0226ff5895a5" alt=""><figcaption></figcaption></figure>

***

### Key Benefits

* **Universal Barcode Search:** Search items across all configured barcode types.
* **Flexible Scanning:** Use different codes to identify the same item.
* **Faster Item Processing:** Reduces the need to switch barcode types manually.
* **Improved Accuracy:** Automatically identifies the item against the scanned barcode.
* **Better Packing Efficiency:** Simplifies barcode-based item allocation.

***

### Important Note

When **"Search Barcode against all Barcode Types"** is enabled, the system searches the scanned value across all available and configured barcode types instead of restricting the search to the Item Code.

***

### Final Outcome

After enabling **"Search Barcode against all Barcode Types"**, Logic ERP allows users to scan and identify items using **Item Code, Lot Code, Additional Item Code, Lot Number, Lot Piece Number, Set Code**, and other configured barcode types during Packing Slip entry.


---

# 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/billing/packing-slip/packing-slip-configuration/search-barcode-against-all-barcode-types.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.
