# Lot Code Search Option Added in Lot Search

**YouTube:** [How to Search by Lot Code Instead of Lot Number in Lot Search?](https://www.youtube.com/watch?v=zYVxjNFDPg8)

## How to Search by Lot Code Instead of Lot Number in Lot Search?

In this tutorial, we will learn **how to use the Lot Code Search option during the billing process in Logic ERP**.

***

### Billing Process with Lot Code Search

* Open the **Sales Bills** module.
* Enter the **customer's name** and move to the **Item Details** section.
* Proceed by transacting an item.

<figure><img src="/files/7lxMJ81MxR8nPeEbAkN8" alt=""><figcaption></figcaption></figure>

***

### Using Lot Code Search

* Once the item is entered, the **Lot Search window** appears.
* The search dropdown provides **two options**:
  * **Lot Number**
  * **Lot Code**

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

These options help users quickly identify and select the correct stock during billing.

* Select **Lot Code** from the search dropdown.
* Enter the required **lot code** to search.
* The system displays the matching lot.
* Select the lot and continue with the transaction.
* After completing the item transaction, **save the sales bill** successfully.

***

### Lot Code Filter in Sales Report

* Open the **Sales Report**.
* Use the **Lot Code filter** to view sales data for a specific lot.

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

***

### Result

* Accurate lot-wise billing
* Faster lot identification
* Precise sales analysis using lot code filters

***

This feature ensures **focused, precise, and accurate stock tracking and reporting** in Logic ERP.


---

# 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/billing/sale-bill/lot-code-search-option-added-in-lot-search.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.
