# Print Barcode Stickers Based on Item-wise Quantity directly from Reports

**YouTube:** [How to Map the Quantity Field for Barcode Printing Based on Item Quantity?](https://www.youtube.com/watch?v=fZ_0JTTm9jo)

## How to Map the Quantity Field for Barcode Printing Based on Item Quantity?

In this tutorial, we will learn how to **print barcode stickers based on item-wise quantity directly from reports** in **Logic ERP**.

***

### **Review the Purchase Challan Report**

* Open the **Purchase Challan Report**.
* In this example, the challan contains **three products** with quantities **10, 5, and 5**.

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

* Our objective is to print **barcode stickers according to these item-wise quantities**.

***

### **Open Barcode Label Design**

* Close the Report window.
* Click on the **Barcode** option.
* Select the required **Barcode Configuration or Design**.
* Click **No** to open the selected barcode design.

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

***

### **Review the Current Barcode Preview**

* Preview the barcode labels.
* You will notice that the system currently prints **one barcode per line item**, instead of generating barcodes based on the **actual item quantity**.

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

***

### **Configure Barcode Copies Based on Quantity**

To print stickers according to item quantity:

* Open **Page Setup**.
* Enable the option **“Use the following fields for copies”**.
* Set the field value to **Quantity**.

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

* Save the settings.

This configuration ensures that barcode stickers are printed **based on the item-wise quantity specified in the document**.

***

### **Configure Barcode Label Printing Settings**

* Open the **Barcode Label Printing Module**.
* Go to **Configuration Settings**.
* Ensure the following settings are applied:
  * **Append One Record To:** `NA`

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

* **Data Source Type:** `Embedded` (for better performance)

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

* Save the configuration and return to the report.

***

### **Verify the Updated Barcode Preview**

* Open the **Barcode Print Preview** again.
* The system will now display **barcode stickers according to the item-wise quantities** specified in the challan.

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

***

### **Print Barcode Stickers**

* From the preview screen, click on the **Print Icon**.
* The barcode stickers will be printed **exactly as per the item quantities**.

***

### **Conclusion**

By configuring the **copies field as quantity**, Logic ERP allows barcode stickers to be generated **accurately according to item-wise quantities**, ensuring faster labeling and improved inventory handling.


---

# 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-installation-configuration-and-troubleshooting-solutions/faqs/reports/print-barcode-stickers-based-on-item-wise-quantity-directly-from-reports.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.
