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

# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FEM79rjMw9NVbkpGqSrNK%2FSearch%20Items.png?alt=media&amp;token=1ee701e3-0b1f-4f5a-b38b-3f81c6b70b25" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FhTSKK14q6ZjgU9IRE2eC%2FLot%20Code.png?alt=media&amp;token=5cec0789-9c80-4bc5-ae44-40077ff870a1" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FWva8WVg9QYnDQrjAeY8F%2FView.png?alt=media&amp;token=8fb7ca9e-8120-4e51-8906-b6f9c65d7889" 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
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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
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>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
