# Party Wise Discount Locks

**YouTube:** [How to set Party-wise discount locks in Sale Bill?](https://youtu.be/4ipC8sUKyfc)

## How to Set Party wise Discount locks in Sale Bill?

In this tutorial, we will learn how to **configure and apply party-wise discount locks in Logic ERP**. Discount locks help control the usage of **Cash Discount (CD), Trade Discount (TD), Special CD (SPCD), schemes, and billing permissions** for specific customers, ensuring pricing discipline and policy compliance during sales billing.

***

### **Access to Party Wise Discount Locks Setup**

* Navigate to the **Main Menu**
* Open the **Setup Module**
* Go to **Party-Wise Settings**
* Click on **Party-Wise Discount Locks**

This window allows you to define discount permissions and restrictions for individual customers.

***

### **Review Default Restrictions (No Discounts Allowed)**

* Select a **customer**

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

* In **Entry Mode**, select the same customer

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

* Click **Refresh**

**Observation**

* You will notice that:
  * **CD, TD, and SPCD** are **not allowed**
  * No discount values are permitted for this customer by default

***

### **Verify Restriction in Sales Bill**

* Open the **Sales Bill** window
* Initiate a new transaction for the selected customer
* Try entering **CD, TD, or SPCD**

**Result**

* The entered discount value is **automatically removed**

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

* The system restricts discount entry due to discount locks

***

### **Enable Allow CD Lock**

* Return to **Party-Wise Discount Locks**
* Enable **Allow CD** for the customer

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

* Save the changes

**Verify**

* Go back to the **Sales Bill**
* Apply **Cash Discount (CD)**

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

* The CD is now **successfully applied**, confirming that the lock is active.

***

### **Review Other Discount Lock Options**

The discount lock window also includes advanced controls such as:

* **Lock Scheme (Percentage)**
* **Lock Scheme (Rupees)**
* **Lock Scheme Per Unit**
* **Stop Billing if Last CD Is Not Cleared**

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

* Select another customer, apply these locks as required, and **save the changes**.

***

### **Verify Scheme Locks in Sales Bill**

* Open the **Sales Bill**
* Initiate a new transaction
* Press **F5** on the item name to define a scheme in rupees

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

**Result**

* The scheme value is **restricted and not applied**

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

Similarly:

* When **Scheme Per Unit Lock** is enabled
* Any entered value is **blocked** and does not reflect in the bill

***

### **Apply “Stop Billing if Last CD Is Not Cleared” Lock**

This lock prevents new billing until the previous CD amount is settled.

**Process**

* Apply **CD** in a sales bill
* Save the bill in **Credit Mode**
* Attempt to create a new bill for the same customer

**Result**

* The system displays a message indicating:

  > Bill Number: GST-170 of CD 149.9000 is pending

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

***

### **Clear Pending CD and Resume Billing**

* Open **Cash Received Voucher**
* Enter the receipt against the previous bill
* Adjust and settle the bill

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

* Save the voucher

**Verification**

* Return to the **Sales Bill**
* Initiate a new transaction for the customer

Billing is now **allowed**, as the previous CD has been cleared.

***

### **Conclusion**

Party-wise discount locks in Logic ERP provide strong control over:

* Discount usage (CD, TD, SPCD)
* Scheme application
* Credit discipline linked to discounts
* Customer-specific billing behavior

By configuring these locks effectively, businesses can **prevent unauthorized discounts, enforce policies, and maintain better financial control** during sales transactions.


---

# Agent Instructions: 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:

```
GET https://kb.logicerp.com/logic-erp-learning-hub-tutorials-and-best-practices/setups/party-wise-settings/party-wise-discount-locks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
