# Refresh Customer CD/TD etc Defaults in case Customer is changed

**YouTube:** [How to Auto - Refresh Customer Defaults (CD / TD) on Customer Change in Sale Bill ?](https://www.youtube.com/watch?v=D91XASLpUDo)

## How to Auto - Refresh Customer Defaults (CD / TD) on Customer Change in Sale Bill?

In this tutorial, we'll demonstrate how to configure **Logic ERP** to automatically refresh **CD (Cash Discount)** and **TD (Trade Discount)** and other related fields when the customer is changed. This ensures that customer-specific defaults are accurately applied during billing.

***

### Access Sales Voucher Configuration:

* Navigate to **Sales Voucher Configuration**.
* Select the **relevant Billing Series**.
* Locate the Feature labeled: **“Refresh Customer CD/TD etc. Defaults in Case Customer is Changed”**
* *Initially*, leave this option **disabled** to observe system behavior without it.

<figure><img src="/files/qrQLUEnXercUlj1uz0mc" alt=""><figcaption><p>Let's keep this feature Disable to observe its Impact</p></figcaption></figure>

***

### **Set Party-Wise Default CD/TD**

* Navigate to Setup\Party Wise Settings and click to **"Set Party Wise Defaults".**
* Select **Party A**, and configure:
  * CD: **2%**
  * TD: **4%**
* Save the settings.
* Select **Party B**, and configure:
  * CD: **1%**
  * TD: **3%**
* Save the settings.

***

### **Implement in the Billing Window (Feature Disabled)**

* Open the **Billing Window**.
* Select **Party A** – CD/TD values (2% / 4%) are correctly shown.
* Now switch to **Party B**:
  * The system still displays CD/TD values of **Party A**.
  * *This confirms the refresh setting is required for dynamic updates.*

***

### **Implement in the Billing Window (Feature Enabled)**

* Return to **Sale Voucher Configuration**.
* Enable: **“Refresh Customer CD/TD etc. Defaults in Case Customer is Changed”**
* Save and restart if necessary.
* Go back to the **Billing Window**.
* Select **Party A** – CD: 2%, TD: 4%.
* Switch to **Party B** – CD and TD **automatically update** to 1% and 3%.
* *The feature is now working as expected.*

***

### **Conclusion**

Enabling this feature ensures that CD/TD and other customer-specific settings are **accurately refreshed** during billing, reducing manual errors and improving billing accuracy.


---

# 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/configurations/sale-voucher-configuration/other-settings-1/refresh-customer-cd-td-etc-defaults-in-case-customer-is-changed.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.
