# 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fpl7YWWRAVZ6PcfeFVNon%2FSelect%20Customer.png?alt=media&#x26;token=e5751a50-480c-4202-a7ef-7ebc3366a6fc" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F63xluhOsWCFwV15iU3UQ%2FEntry%20Mode.png?alt=media&#x26;token=a6234eae-6fa2-4327-a9a6-51e714f6fb23" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FvX2Cci78R9OrEnTgWHoI%2FDefault%20-%200.png?alt=media&#x26;token=740c9b21-8ddb-4e9e-9110-195c509180a0" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FC3BVsmtQraI8iW9mpgUA%2FAllow%20CD.png?alt=media&#x26;token=84b1d487-d8e2-49d7-a51c-81f940313ccf" alt=""><figcaption></figcaption></figure>

* Save the changes

**Verify**

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

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F7Ai8gv6Kl8CSn2VHoyY4%2FAllowed%20CD.png?alt=media&#x26;token=28d3a725-cce3-40dc-b3d1-767f5fca7805" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FkaZ9f6ayXF9P4VSAJSWD%2FLock%20Sch%20Rs.png?alt=media&#x26;token=6d332a55-cd8d-4be6-8fcd-dde43e1e326d" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6tLiT11BnWNLEZqvWJYy%2FF5.png?alt=media&#x26;token=79a2f3d9-1340-4ccd-bd99-c0e4f4380b83" alt=""><figcaption></figcaption></figure>

**Result**

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

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FlKjDzOHMoZYEvcEiAJnO%2FView%20Total.png?alt=media&#x26;token=0ff508fe-8d79-4873-9a0b-9bdfb718de35" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FrFY540NN9A78BBUDFDZh%2FBill%20Number.png?alt=media&#x26;token=c4868e9c-f83c-4c55-ba6c-e4511220518b" 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="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FQ15dtyDscXoDoAwF87WN%2FRece.png?alt=media&#x26;token=ed6402d1-4941-4c41-9652-fe56d6f8d8a7" 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.
