> 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-installation-configuration-and-troubleshooting-solutions/faqs/printing/add-c.d.-t.d.-discount-fields-in-printing.md).

# Add C.D. / T.D. (Discount) Fields in Printing

**YouTube:** [How to Add C.D. / T.D. (Discount) Fields in Sale Bill Printing](https://www.youtube.com/watch?v=K6RQHIBX2-s)

## How to Add C.D. / T.D. (Discount) Fields in Sale Bill Printing

In this tutorial, we’ll demonstrate how to add **Cash Discount (CD)** and **Trade Discount (TD)** percentage and amount columns in sales bill printing.

***

### Add C.D. / T.D. Using Sale Multiple Printing Configuration

* Go to **Menu → Configuration → Sale Multiple Printing Configuration**.
* Select the **required configuration** from the list.
* Under **Print Options**, click **Print Columns**.

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

* From the list of available columns, use the **search bar** to find and select:
  * **CD Percent**
  * **CD Amount (Com Rupees)**
  * **TD Percent**
  * **TD Amount (SP Com Rupees)**

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

* Rearrange the columns as per your requirement using the arrow keys.
* Save the configuration.
* Return to the **Sale Bill Window** and open the print preview.

You will now see both **percentage and value columns** for CD/TD in the print.

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

***

### Add C.D. / T.D. Using Designer Printing Format

* Go to **Menu → Continuous Printing → Sales Bill Print Designer and Printing**.
* Select the **required configuration** and **sales bill** from the search list, then click **Refresh**.
* Open the **Design Window**.

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

* Click on the **Grid Table** from the menu, select Table and then click to **Edit Bound Table**&#x20;

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

* Click on **Settings**.

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

* Click on **Add Column**. Since we need two columns (percentage & amount), add two columns.
* On the right-hand side **Properties Panel**:
  * Go to **Bound Columns** and search for **CD**.
    * The field without suffix → **Amount**
    * The field with **P** → **Percentage**
  * Right-click and **Insert Field** for both columns.

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

* Use **Move Left / Move Right** to rearrange column positions.
* Under **Column Properties**:
  * Define the column type (number/percent).
  * Update the **Header Text** (e.g., *CD %*, *CD Amount*).

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

* Under **Column Styles**:
  * Set **Horizontal Alignment → Right**.
  * Set **Vertical Alignment → Middle**.
  * (Optional) Add **background color** or **border style**.

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

* Repeat the same steps for **TD Percent** and **TD Amount** columns.
* Save the changes and close the bound table.
* Open the **Preview Print**.

You will now see **CD % / CD Amount** and **TD % / TD Amount** columns in the sales bill print.

<figure><img src="/files/3DQYb2h3wQfuPM3M0MSu" alt=""><figcaption></figcaption></figure>


---

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

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/faqs/printing/add-c.d.-t.d.-discount-fields-in-printing.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.
