# Lot Selection

**YouTube:** [How to Configure Auto Lot/Batch Selection (FIFO/LIFO, etc.) in Receipt Register?](https://youtu.be/mjYOMh1L3Hw)

## How to Configure Auto Lot/ Batch Selection (FIFO/ LIFO, etc) in Receipt Register?

In this tutorial, we will discuss **lot selection criteria** and **retrieving items through Excel** in the **Receipt Register**.

***

### Configuring Lot Selection Criteria

* Open the **Receipt Register** window.
* Click on **Configuration**.
* Navigate to **Other Options**.
* Locate the **Lot Selection** option.

<figure><img src="/files/5SzJInA7cvWmfUHw6GC6" alt=""><figcaption></figcaption></figure>

This dropdown provides multiple lot selection parameters.

***

### Default Behavior – Manual Lot Selection

* By default, **Lot Selection** is set to **Manual**.
* When you transact an item, the **Lot Search window** appears.

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

* You must manually select the required lot to proceed with the transaction.

***

### Show Lots for Current Branch Only

There is an additional option that works along with manual lot selection:

* **Show lots for current branch only**

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

#### How it works:

* Enable this option from the configuration window.
* Save the changes.
* Proceed with a new receipt entry.

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

**Result:**

* Only the **lots or batches created in the current branch** will be displayed in the lot search window.

***

### Other Available Lot Selection Options

Apart from manual selection, the following options are available:

* **Auto Pick First Lot**\
  Automatically selects the first available lot.
* **Auto Pick a Single Lot**\
  Automatically selects the lot only if a single lot exists; otherwise, the lot search window appears.
* **Auto Pick on FIFO Basis**\
  Automatically selects the lot purchased **first**.
* **Auto Pick on LIFO Basis**\
  Automatically selects the lot purchased **most recently**.

***

### Auto Pick on FIFO Basis

* Set **Lot Selection** to **Auto Pick on FIFO Basis**.
* Save the configuration.
* Initiate a new receipt transaction.

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

**Result:**

* The system automatically picks the **oldest purchased lot**.

***

### Auto Pick on LIFO Basis

* Open the configuration window again.
* Change **Lot Selection** to **Auto Pick on LIFO Basis**.
* Save the changes.
* Create a new receipt entry.

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

**Result:**

* The system automatically picks the **most recently purchased lot**.

***

### Retrieving Items Through Excel

You can also retrieve items using an **Excel file**:

* Click on the **Retrieve** option available in the receipt register.

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

* Browse and select the required **Excel file**.
* Enter **Header Row = 1**.
* Click **Refresh**, then click **OK**.

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

**Result:**

The items and lots are picked and displayed based on the **configured lot selection rule**\
(for example, **LIFO basis**, if LIFO is selected in configuration).

***

### Summary

* Flexible lot selection options
* Branch-wise lot visibility
* Automatic FIFO/LIFO compliance
* Fast item entry using Excel retrieval


---

# 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/inventory/receipt-register-configuartion/lot-selection.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.
