Add C.D. / T.D. (Discount) Fields in Printing
YouTube: How to Add C.D. / T.D. (Discount) Fields in Sale Bill Printing
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.

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)

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.

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.

Click on the Grid Table from the menu, select Table and then click to Edit Bound Table

Click on Settings.

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.

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).

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

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.

Last updated