> 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/do-not-update-points-in-modify-case.md).

# Do Not Update Points in Modify Case

**YouTube:** [How to Prevent Loyalty Point Updates When Modifying Sales Bills?](https://www.youtube.com/watch?v=6YXMfKZjqYo)

## How to Prevent Loyalty Point Updates When Modifying Sales Bills?

In this tutorial, we will learn how to prevent loyalty points from being recalculated or updated when a Sales Bill is modified in Logic ERP.

***

### Objective of This Feature

* Prevent loyalty points from being recalculated after bill modification.
* Preserve the loyalty points originally awarded for a bill.
* Maintain consistency in customer loyalty balances.
* Prevent unintended changes to previously earned points.

***

### Access to the Set Customer Points Configuration

* Go to the **Set Customer Points Configuration** module.
* Locate the option:&#x20;

> **"Do Not Update Points in Modify Case"**

<figure><img src="/files/8WoGsFNWagCtWLVipwfx" alt=""><figcaption></figcaption></figure>

When enabled, this option prevents the system from recalculating loyalty points when an already saved bill is modified.

***

### Observe the Default Behavior

Let's first observe the functionality when the option is **disabled**.

For this demonstration, the loyalty point settings have already been configured as follows:

* **₹100 spent = 1 Loyalty Point**
* **1 Loyalty Point = ₹1**

Now, navigate to the **Sales Bill** module.

***

### Create a Loyalty Customer and Sales Bill

* Create a new Loyalty Customer.
* Generate a Sales Bill for the customer.
* Enter the required items and save the bill.
* After saving the bill, create a new Sales Bill and search for the same customer to verify the loyalty points.

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

**Result**

The customer has earned **40 Loyalty Points** based on the configured earning criteria.

#### Modify the Sales Bill

Now, open the same Sales Bill in **Modify Mode**.

* Increase the item quantity.
* This increases the overall bill value.
* Save the modified bill.
* Now, create another Sales Bill and search for the same customer to check the updated loyalty points.

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

**Result**

Since the **Do Not Update Points in Modify Case** option is disabled, the system recalculates the loyalty points.

The customer's loyalty points increase from **40 to 80 points**.

***

### **Now, let's observe the behavior after enabling the feature.**

* Now, return to the **Set Customer Points Configuration** module.
* Enable: **"Do Not Update Points in Modify Case"**
* Save the configuration.

***

### Create a New Sales Bill

* Create a new Loyalty Customer.
* Generate a Sales Bill.
* Save the bill.
* Create another Sales Bill and search for the same customer.

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

**Result**

The customer has earned **40 Loyalty Points** based on the configured earning criteria.

#### Modify the Sales Bill

Now, open the same Sales Bill in **Modify Mode**.

* Increase the item quantity.
* Save the modified bill.
* Search for the same customer again to verify the loyalty points.

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

**Result**

Although the Sales Bill has been modified, the customer's loyalty points remain unchanged at **40 points**.

The system does not recalculate or update the points awarded for the original bill.

***

### Key Benefits

* Prevents unintended loyalty point changes.
* Maintains accurate customer point balances.
* Protects previously awarded loyalty points.
* Provides better control over loyalty program calculations.
* Ensures consistent point management after bill modifications.

***

### Final Outcome

Once **"Do Not Update Points in Modify Case"** is enabled, Logic ERP preserves the loyalty points originally awarded for a Sales Bill. Even if the bill value or quantity is modified later, the customer's previously earned loyalty points remain unchanged.


---

# 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/do-not-update-points-in-modify-case.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.
