# Barcode and Qty Seperator

**YouTube:** [How to Set Up Barcode and Quantity Separator for Scanning Barcodes with Quantities in Sale Bill?](https://www.youtube.com/watch?v=xH34zLkhmxY\&t=38s)

## How to Set Up Barcode and Quantity Separator for Scanning Barcodes with Quantities in Sale Bill?

This tutorial will guide you through the process of configuring and using the **Barcode and Quantity Separator** feature in Logic ERP, along with the **Auto Allocate Lots for Barcode Quantity Scanning** setting.

***

### **Configure the Barcode and Quantity Separator:**

* Open **Sales Voucher Configuration**.
* Select the relevant **Billing Series** under **Other Settings - 1**.
* Click on **Other Settings**, then navigate to the **Default - 2** tab.
* Locate the option labeled: **"Barcode and Quantity Separator"**.
  * This is used in weighing scale integrations where the barcode contains item code and quantity separated by a character.
* Set the desired separator (e.g., underscore `_`).

<figure><img src="/files/N1MsFmLKVMjV6K8JL9gw" alt=""><figcaption></figcaption></figure>

***

### **Implement Without "Auto Allocate Lots for Barcode Quantity Scanning"**

* Leave the option **"Auto Allocate Lots for Barcode Quantity Scanning"** **unchecked**.
* Proceed to the **Billing** screen and scan a barcode containing quantity (e.g., barcode with 6 units).
* **Observation**:
  * The system prompts a **Lot Selection** window.
  * You must **manually select** the appropriate lot.
  * The system still recognizes the correct quantity (e.g., 6 units), but manual allocation is required.

<figure><img src="/files/0Ufj2gytgIR0rViEOYZT" alt=""><figcaption></figcaption></figure>

***

### **Implement With "Auto Allocate Lots for Barcode Quantity Scanning"**

* Return to **Sales Voucher Configuration**.
* Enable the checkbox for **"Auto Allocate Lots for Barcode Quantity Scanning"**.
* Save the configuration.
* Go back to the **Billing** screen and scan a barcode with quantity.
* **Observation**:
  * The **Lot Selection** window no longer appears.
  * The system **automatically allocates** inventory from available lots.
  * Example: 80 units are allocated from a lot that originally had 85 units.

<figure><img src="/files/92250WSjv98euqpTpptp" alt=""><figcaption></figcaption></figure>

***

### **Scenario – Insufficient Quantity in a Single Lot**

* Scan another barcode with a quantity greater than what's available in a single lot.
* **Observation**:
  * The system **splits the quantity across multiple lots**.
  * Multiple rows are generated to fulfill the required quantity using available stock.

<figure><img src="/files/046BSd1YMdTz6H7OZY2n" alt=""><figcaption></figcaption></figure>

***

**Conclusion**

By configuring the **Barcode and Quantity Separator** and enabling **Auto Lot Allocation**, Logic ERP can streamline the billing and inventory assignment process—especially useful in environments with weighing scales and high-volume item scanning.


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/sale-voucher-configuration/other-settings-1/other-settings/defaults-2/barcode-and-qty-seperator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
