> 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FpqH7v2V2H1j8zQv7CZmi%2Fimage.png?alt=media&amp;token=df6504c6-9bfa-4805-be30-c19eb83d06ad" alt=""><figcaption></figcaption></figure>

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FaHgExNYrEf2NJLQEe115%2Fimage.png?alt=media&amp;token=6061bc14-1d8e-4f84-baff-18905992f710" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FlZHqyCIp860jG35EjtiF%2Fimage.png?alt=media&amp;token=c5991748-4071-406d-95d1-9c64e36f7f4c" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FMINgYVbOQFz4y8N8ovbi%2Fimage.png?alt=media&amp;token=688c5ec7-1240-4fa2-a46e-6e9e57f2643f" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FzXo5SXLElyatnKbxpK23%2Fimage.png?alt=media&amp;token=0bf82f9f-ad8f-4e4e-9b94-b8579f6b342a" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FbrY6x2eQt3TQfoMZ6dqN%2Fimage.png?alt=media&amp;token=e403ebe5-6c7d-446e-a1a3-0b088b66b537" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6j2E64HQmRSAF4e25f8M%2Fimage.png?alt=media&amp;token=01524850-1f91-410d-af8d-8cc3ab2926e8" 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 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-version-release-notes/october-2022/setups/implement-schemes-lot-code-lot-pieces-wise.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.
