> 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/setups/setup-accounts/setup-customer-database/retail-customer-membership-package-scheme-status/retail-customer-membership-package-scheme-status-configuration.md).

# Retail Customer Membership / Package Scheme Status - Configuration

The configuration of the [**Retail Customer Membership / Package Scheme Status**](https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/setup-accounts/setup-customer-database/retail-customer-membership-package-scheme-status.md) report decides which date the statuses are measured from, how many days ahead counts as expiring, which memberships and statuses are listed, how the rows are sorted and which totals are printed. You can keep several configurations and pick one when you run the report.

***

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

* Navigate to **Setup\Setup Accounts\Setup Customer Database** and click on "Retail Customer Membership / Package Scheme Status".
* Click **Config** (or press **F5**). The **Retail Customer Membership / Package Scheme Status Config** window opens.
* Pick a configuration from the list to change it, or type a new name to start one. Names are saved in capital letters.

**A new configuration starts with:** As On Date **Today**, Expiring Within Days **30**, all five statuses ticked, **Infer Package From Scope** ticked, **Include Manual Discounts** and **Expiry Within Report Range** not ticked, Report Order **Expiry Date** then **Customer Name**, Sub Totals **None** and **Grand Totals** ticked.

***

### **Step 2: Report Options**

| Setting                        | What it does                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **As On Date**                 | The date the statuses and **Days To Expiry** are worked out from: **Today** (default) or **Report To Date** (the **To** date entered when running the report). Use **Report To Date** to see, for example, which memberships will have expired by the end of the month.                                                                                                                                                                                                                                              |
| **Expiring Within Days**       | How many days ahead counts as **Expiring**. A membership whose expiry date falls on the as-on date or within this many days after it shows as **EXPIRING**. New configurations start at **30**; a value of 0 or less is put back to 30, and at most 3650 days are used. It can be changed only while the **Expiring** status is ticked. If **Expiring** is unticked, memberships ending within these days are hidden; they do not show as Active.                                                                    |
| **Include Manual Discounts**   | Not ticked (default): only package memberships are listed. Ticked: discounts entered by hand for individual customers, which are not part of any package, are listed as well, with **Scheme Source** **MANUAL**. (With **Infer Package From Scope** ticked, a hand-entered discount that covers the same company, category or product as a package is treated as that package and is listed either way.)                                                                                                             |
| **Infer Package From Scope**   | Ticked (default): when a membership is not linked to the bill that sold the package, the report matches what the membership covers (company, category or product) to the package setup. Such rows show **Scheme Source** **PACKAGE (INFERRED)**; the package name is filled in only when exactly one package matches, otherwise it is blank. Not ticked: only memberships linked to a bill are treated as packages; the rest count as manual discounts and are hidden unless **Include Manual Discounts** is ticked. |
| **Expiry Within Report Range** | Ticked: only memberships whose **expiry date** falls between the report's **From** and **To** dates are listed. Memberships without dates are left out.                                                                                                                                                                                                                                                                                                                                                              |

> **Example — Expiring Within Days = 30, As On Date = Today (25 September 2026)**
>
> * A membership ending on 25 September 2026 → **EXPIRING** (0 days left).
> * A membership ending on 25 October 2026 → **EXPIRING** (30 days left — the last day still counts).
> * A membership ending on 26 October 2026 → **ACTIVE**.
> * A membership that ended on 24 September 2026 → **EXPIRED**.

***

### **Step 3: Status**

Tick the statuses to list. All five are ticked in a new configuration.

| Status          | Means                                                                                     |
| --------------- | ----------------------------------------------------------------------------------------- |
| **Active**      | Started on or before the as-on date and ends more than **Expiring Within Days** after it. |
| **Expiring**    | Running, and ends on the as-on date or within **Expiring Within Days** after it.          |
| **Expired**     | Ended before the as-on date.                                                              |
| **Not Set**     | The start or end date was never entered.                                                  |
| **Not Started** | Starts after the as-on date.                                                              |

At least one status must be ticked. Otherwise the configuration is not saved and the message "No status is selected, so the report would come back empty. Tick at least one status." appears.

***

### **Step 4: Report Order**

Tick the fields to sort by: **Expiry Date**, **Customer Name**, **Package Name**, **Branch Name**, **Scheme Type** and **Status**. Then use **Report Order** to arrange them; the first one is the outermost sort. All sorts are ascending (for example, the earliest expiry date first).

* Each ticked field is also a level at which a subtotal can be printed (Step 5).
* Customers who share a name are still kept apart, as are packages that share a name.
* At least one field must be ticked. Otherwise the configuration is not saved and the message "No report order is selected. Tick at least one entry under Report Order so the rows have a sort key." appears.

***

### **Step 5: Report Totals**

| Setting          | What it does                                                                                                                                                                                                                                                                                                                     |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Sub Totals**   | **None** (default), **First Level Only** (a subtotal for the first field in **Report Order**) or **All Levels** (a subtotal for every ticked field). A subtotal row is labelled with the value of that level, for example **SHEETAL Wise Totals** for a customer, and shows the number of memberships in the **Schemes** column. |
| **Grand Totals** | A **GRAND Totals** row at the end, with the total number of memberships.                                                                                                                                                                                                                                                         |

Only the **Schemes** count is totalled; the discount percentages are not added up.

> **Tip:** with the default order (**Expiry Date** first), **First Level Only** prints a subtotal for almost every row, because expiry dates are rarely shared. To get a subtotal per customer, put **Customer Name** first in **Report Order**; to count memberships per branch, tick **Branch Name** and put it first.

***

### **Step 6: Save**

* Click **Save** and answer **Yes** to **Save Configuration**. The window closes, and the configuration is used the next time the report is run with it.
* After you answer **Yes**, the window checks the settings and shows a message if no status or no report order is ticked (Steps 3 and 4).
* Configurations cannot be saved on the web.
* You need rights to modify configurations; otherwise the message "Modification Rights Not Available." appears.


---

# 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/setups/setup-accounts/setup-customer-database/retail-customer-membership-package-scheme-status/retail-customer-membership-package-scheme-status-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.
