> 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/set-customer-points-configuration/amount-for-value-calculation.md).

# Amount For Value Calculation

**YouTube:** [How to Configure the Amount Used for Loyalty Point Value Calculation?](https://www.youtube.com/watch?v=SWJirwOvz-E)

## How to Configure the Amount Used for Loyalty Point Value Calculation?

In this tutorial, we will learn how to configure the **"Amount For Value Calculation"** option in Logic ERP and understand how the selected components affect loyalty point calculation during Sales Bill transactions.

***

### Objective of This Feature

* Define which amount components are considered for loyalty point calculation
* Control how discounts affect loyalty points
* Calculate points based on configured value components
* Provide flexibility in loyalty point calculation
* Ensure accurate reward calculation

***

### Access to the Customer Points Configuration

* Navigate to the **Set Customer Points Configuration** module.

**Existing Loyalty Settings**

For this example:

* **₹100 Purchase = 1 Loyalty Point**
* **1 Loyalty Point = ₹10**

<div><figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FD5m4acKQgQb2GWMc6T5x%2FLP.png?alt=media&amp;token=340c3dfe-456c-4c12-bcbc-f1f8152689a7" alt=""><figcaption></figcaption></figure> <figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6049p5bEXkJ9f7aigLbk%2FVL.png?alt=media&amp;token=070e8577-b740-4ee8-937b-e77990aed3ba" alt=""><figcaption></figcaption></figure></div>

> The **Amount For Value Calculation** section allows you to select the components that should be considered while calculating loyalty points.

* Locate the option labeled as:

> **"Amount For Value Calculation"**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FqqyC3NP9UHRW4QckIquJ%2FCNF.png?alt=media&amp;token=3b72d4c7-9432-4bde-9d6a-0a597b97564d" alt=""><figcaption></figcaption></figure>

* Select **Gross Value** as the amount component.
* Save the configuration changes.

***

### Apply a Cash Discount in Sale Bill

* Navigate to the **Sales Bill** module.
* Create a Sales Bill for a loyalty customer with an item value of **₹4,000**.
* Apply a **10% Cash Discount (CD)**.

In the **View Totals** section:

* **Gross Amount:** ₹4,000
* **Cash Discount:** ₹400
* **Net Amount:** ₹3,600

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FmbZH02rTYcWNwYTWwHTH%2FView%20Total.png?alt=media&amp;token=f96cff87-3474-4dbb-87f4-8ee50f4f30fa" alt=""><figcaption></figcaption></figure>

Since only **Gross Value** is selected for value calculation, the software considers the **₹4,000 gross amount** for loyalty point calculation.

**Result**

* ₹4,000 ÷ ₹100 = **40 Loyalty Points**
* Save the Sales Bill and reopen it to review the loyalty point calculation.
* The customer has earned **40 loyalty points**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FfMLCghBpqGWU6VhGtcas%2FModify.png?alt=media&amp;token=837d20f7-8725-4441-a890-cf70d25c9da0" alt=""><figcaption></figcaption></figure>

***

### Include CD% in Value Calculation

* Return to the **Set Customer Points Configuration** module.
* Under **Amount For Value Calculation**, select **CD%** along with **Gross Value**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FVz39yChOqRTbmM1Qppis%2FNet%20Amount.png?alt=media&amp;token=584cac3c-4b17-4ffc-b904-dff1a9fd94ee" alt=""><figcaption></figcaption></figure>

* Save the configuration.

***

### Create Another Sales Bill

* Navigate to the **Sales Bill** module.
* Create another Sales Bill for a loyalty customer.
* Enter an item worth **₹4,000**.
* Apply a **10% Cash Discount**.
* Save the Sales Bill.

***

### Observe the Updated Calculation

Since both **Gross Value** and **CD%** are selected:

* **Gross Amount:** ₹4,000
* **10% CD:** ₹400
* **Eligible Amount:** ₹3,600

Based on the configured loyalty settings:

**₹3,600 ÷ ₹100 = 36 Loyalty Points**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FPBGvQI051wvA0n5DhzUN%2F36.png?alt=media&amp;token=1a32f903-c891-4b51-af07-feec93a5f6c3" alt=""><figcaption></figcaption></figure>

**Result**

The customer earns **36 loyalty points** instead of 40 because the configured discount component is now considered in the loyalty point calculation.

***

### Key Benefits

* **Flexible Calculation:** Choose which amount components affect loyalty points.
* **Discount-Based Calculation:** Include applicable discounts in the calculation.
* **Accurate Rewards:** Ensures points are calculated according to business requirements.
* **Better Loyalty Control:** Provides greater control over reward eligibility.
* **Easy Configuration:** Amount components can be adjusted directly from the configuration.

***

### Important Note

The loyalty points calculation depends on the components selected under **"Amount For Value Calculation"**. Adding discount-related components can reduce the eligible amount and, consequently, the loyalty points earned.

***

### Final Outcome

By configuring **"Amount For Value Calculation"**, Logic ERP allows you to control which components are considered while calculating loyalty points. In this example, selecting only **Gross Value** resulted in **40 points**, while including **CD%** reduced the eligible amount to ₹3,600 and resulted in **36 loyalty points**.


---

# 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-learning-hub-tutorials-and-best-practices/setups/setup-accounts/setup-customer-database/set-customer-points-configuration/amount-for-value-calculation.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.
