# Generate Batch/Lot-wise Stock Status Report

**YouTube:** [How to Generate Batch/Lot-wise Stock Status Report?](https://www.youtube.com/watch?v=AV7h6BPNvSA)

## How to Generate Batch/Lot-wise Stock Status Report?

In this tutorial, we will demonstrate how to **configure and generate a Batch-Wise Stock Status Report** in **Logic ERP**.

***

### **Open Stock Query Configuration**

* Navigate to the **Reports/Queries** section under the **Stock Report** category.
* Open **Stock Query**.
* Click on **Configuration** to create a new report.
* Enter an appropriate **Configuration Name** for the report.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FnHn0UIjkASslECAJbxEK%2FConfiguration%20Name.png?alt=media&#x26;token=a34af6d9-d970-4985-a732-871d5439cac3" alt=""><figcaption></figcaption></figure>

***

### **Define Print Columns**

* Under the **Print Options** tab, click on **Print Columns**.
* A list of available columns will appear.
* Select the checkboxes for the columns you want to include in your report, such as:
  * Lot Number
  * Item Name
  * Opening Stock
  * Purchase
  * Purchase Return
  * Sale
  * Sale Return
  * Closing Stock

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FleoHxzXwrQNzeSlNIRAk%2FSet%20Column%20Attribute.png?alt=media&#x26;token=e852c991-9aed-476b-a1cc-d7a017fb8dc8" alt=""><figcaption></figcaption></figure>

* You can rearrange the column order using the **Arrow Keys** as per your preference.

***

### **Configure Totals**

* Under the **Total** section, select the appropriate options based on how you want the **totals** to be displayed in the report.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FujRRnEcp6DcCgK51w8zf%2FPrint%20Total.png?alt=media&#x26;token=1600371a-9589-43f8-8d82-66232725adf0" alt=""><figcaption></figcaption></figure>

***

### **Set Item View and Sorting**

* Move to the **Other Options 1** tab.
* Under the **Item View** section:
  * Set **Lot Wise** from the dropdown menu.
  * In the **Item Sorting** option, choose **Item**.
* From the **Transaction Filter**, select **Transacted Items** to include only those items that have stock movements.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F1xrr0h5gK74Pgq73k3PD%2FOther%20Options.png?alt=media&#x26;token=00990b27-2b28-4a49-91be-aa44a7900d2b" alt=""><figcaption></figcaption></figure>

* Once done, click **Save Configuration**.

***

### **Generate the Report**

* From the **Configuration List**, select the newly created report.
* Click on **Create Report** to generate the **Lot -Wise Stock Status Report**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FOubwZhikabQ7WUFCsizO%2FCreated%20Report.png?alt=media&#x26;token=e3e39ccd-2cd3-48d9-b453-9d6113334b8b" alt=""><figcaption></figcaption></figure>

***

### **Final Outcome**

The generated report will display **Lot-Wise stock details** for each item, including:

* Opening and Closing Stock
* Purchases and Sales
* Purchase Returns and Sale Returns

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FpiiCWhNalNplJvxSz9l2%2FReport%20View.png?alt=media&#x26;token=bf50a9e5-8d0b-4187-8b56-35c6be489c50" alt=""><figcaption></figcaption></figure>

This report helps you analyze stock availability and movements **Lot - Wise** for accurate inventory tracking.
