> 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-version-release-notes/october-2022/setups/implement-schemes-lot-code-lot-pieces-wise.md).

# Implement Schemes Lot Code/Lot Pieces Wise

Now, Lot Wise Scheme can also be implemented on the basis of Lot Code/Lot Code + Piece number

The following steps will demonstrate the working of this option :<br>

Step 1:Go to **Setup Schemes** window . Define a new scheme and specify the scheme effective dates. . After that, go to the **Scheme details** tab. open **Column attributes** window and tick to enable the **Lot wise scheme** option.

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

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

Step 2: Press Space key in the **Lot wise scheme** column. Lot wise scheme window will appear. you can set **Barcode as Lot number, Lot code or Lot code +Pcs no.** We will set Barcode as Lot Number for instance.

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

Step 3: Select the **Free Item Name** chosen earlier. Choose **lot number** at which scheme is to be applied .

<figure><img src="/files/3myXgkLYdnIfXISOSVKn" alt=""><figcaption></figcaption></figure>

Step 4:Set Scheme as per you requirement . For example , in the image shown below Cash discount flat 10 % is defined on the Dove conditioner intense repair with lot number 44421 . this means that if this item is transacted in sale bill and the lot number 44421 is chosen then 10 % cd will be automatically applied in the bill.

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

Step 5: Create a sale bill and transact the item. Select the lot number in which the scheme is applied.as soon as you click on save button a message will be prompted indicating the new bill amount as shown in image below:

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

Cash discount of 10 % is deducted from the bill amount automatically.

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


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://kb.logicerp.com/logic-erp-version-release-notes/october-2022/setups/implement-schemes-lot-code-lot-pieces-wise.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
