> 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/reports-queries/scheme-reports/scheme-wise-lot-stock-and-sales/scheme-wise-lot-stock-and-sales-configuration.md).

# Scheme Wise Lot Stock and Sales - Configuration

The configuration of the [**Scheme Wise Lot Stock and Sales**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/scheme-reports/scheme-wise-lot-stock-and-sales.md) report decides which schemes and sales are counted, how closing stock is valued, how movement is judged and how the rows are laid out. You can keep several configurations and pick one when you run the report.

***

### **Step 1: Open the configuration**

* Navigate to **Reports/Queries\Scheme Reports** and click on "Scheme Wise Lot Stock and Sales".
* Open the configuration, pick an existing configuration to change it, or type a new name to create one. The name is saved in capital letters.
* Select a setting to see its explanation below the list.

***

### **Step 2: Scheme Options**

| Setting             | What it does                                                                                                                                                                                      |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Schemes To Show** | **All Schemes** (default), or only schemes with a **Lot List on Scheme Dates**, only schemes with **Lot Wise Discounts**, or only schemes with neither, which cover **All Lots of Scheme Items**. |
| **Scheme Status**   | **All** (default), or only schemes **Running** today, **Expired** before today, or **Upcoming** after today.                                                                                      |

***

### **Step 3: Sales Options**

| Setting                          | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Sales To Count**               | **Bills Where Scheme Was Given** (default) counts only the bill lines recorded with the scheme. It needs [**Record Group Wise Schemes**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/sale-voucher-configuration/other-settings-1/record-group-wise-schemes.md) ticked in [**Setup\Configurations\Sale Voucher Configuration**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/configurations/sale-voucher-configuration.md) (**Other Settings-1**) for the sale series; without it this choice shows no sales. **All Sales of Scheme Lots** counts every sale of the scheme's lots at the branch within the scheme dates, and works either way. |
| **Sale Returns**                 | **Deduct** (default) or **Ignore** sale returns of the scheme's lots made at the branch within the scheme dates. With **Bills Where Scheme Was Given**, a return is deducted only where that lot had a scheme sale at the branch.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Sale Value As**                | **Gross Value** (default, quantity × rate), **Net Value** or **Sale Amount**.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **TD / CD As**                   | **As Given on Bill** (default) shows the TD, CD and SP CD actually given. **As Defined in Scheme** shows, on lot rows, the TD %, CD % and SP CD % set in the scheme and works the amounts out on the gross value. When a scheme has several slabs, the slab with the lowest **SLAB QTY/VALUE** is used; for a lot wise discount scheme, the lot's own row in that slab. **SCHEME / UNIT AMT** and **SCHEME RS AMT** always show the amounts given on the bills.                                                                                                                                                                                                                                                                           |
| **Exclude Stock Transfer Bills** | Leaves out sale bills raised as stock transfers. Ticked for a new configuration.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |

***

### **Step 4: Stock Options**

| Setting                       | What it does                                                                                                                                                            |
| ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Closing Stock**             | **As On Report End Date** (default) or **Current Stock** (stock in hand now).                                                                                           |
| **Closing Value Rate From**   | **Lot Master** (default), **Items Master**, or **Branch Lot Rate** — the branch's own rate for the lot; a lot with no branch rate, or a rate of 0, uses the lot's rate. |
| **Closing Value Rate As**     | **MRP** (default), **Basic Rate**, **Pur Rate**, **Sale Rate** or **SP Rate 1** to **SP Rate 5**.                                                                       |
| **Use Average Purchase Rate** | Values closing stock at the lot's average purchase rate instead. Works with **Lot Master**; a lot with no purchase quantity uses its purchase rate.                     |
| **Show Lots With No Sale**    | Shows lots that are in stock but did not sell in the period — the non-moving lots. Ticked for a new configuration.                                                      |
| **Show Sold Out Lots**        | Shows lots that sold in the period and have no stock left. Ticked for a new configuration.                                                                              |

***

### **Step 5: Movement**

| Setting                                                                   | What it does                                                                                                                                                                                                                                                  |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Movement Based On**                                                     | **Sell Through %** (default) or **Days Since Last Sale** — see [Fast, Slow or Non-Moving](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/scheme-reports/scheme-wise-lot-stock-and-sales.md) in the report guide. |
| **Fast If Sell Through % At Least** / **Slow If Sell Through % At Least** | Used with **Sell Through %**. Default 50 and 20. Below the slow limit a lot is **Non-Moving**.                                                                                                                                                                |
| **Fast If Sold Within Days** / **Slow If Sold Within Days**               | Used with **Days Since Last Sale**. Default 30 and 90. Beyond the slow limit, or with no sale, a lot is **Non-Moving**.                                                                                                                                       |

A limit left at 0 or blank goes back to its default when you save. The sell-through limits cannot be more than 100, the slow limit cannot be above the fast limit, and the fast days cannot be more than the slow days; the configuration is not saved until these are right.

***

### **Step 6: Layout**

| Setting                 | What it does                                                                                                                                                                                                                                                                                                                            |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Show One Row Per**    | **Lot** (default), **Item**, **Scheme** or **Branch**. **Branch** adds up all schemes of the branch, is always ordered by branch and has no scheme totals.                                                                                                                                                                              |
| **Report Order**        | **Branch, then Scheme** (default) or **Scheme, then Branch**.                                                                                                                                                                                                                                                                           |
| **Product Group Level** | Tick to choose the item group level shown in the [**PRODUCT**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/reports-queries/scheme-reports/scheme-wise-lot-stock-and-sales.md) column. The chosen level is shown in **Product Group Level Chosen**. With no level chosen, the item's main group is used. |

***

### **Step 7: Report Totals and Extra Group Options**

| Setting                                                | What it does                                                                                                                                 |
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| **Branch Totals**, **Scheme Totals**, **Grand Totals** | Under **Report Totals**: print totals for each branch, each scheme and the whole report. **Grand Totals** is ticked for a new configuration. |
| **Extra Item Groups**                                  | Under **Extra Group Options**: adds a column for each item group you choose.                                                                 |

***

### **Step 8: Save**

* Click **Save**. The configuration is used the next time the report is run with it.

***

### **A good starting set**

> **Example — a store that does not record schemes on its bills**
>
> Set **Sales To Count** to **All Sales of Scheme Lots**, **TD / CD As** to **As Given on Bill**, and **Closing Value Rate From** to **Lot Master** with **Closing Value Rate As** set to **MRP**. Tick **Grand Totals** and **Branch Totals**, and save it as **SCHEME LOT REVIEW**.


---

# 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/reports-queries/scheme-reports/scheme-wise-lot-stock-and-sales/scheme-wise-lot-stock-and-sales-configuration.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.
