# Print Quantity in Multiple Units with Conversion Factors in Sale Bill

**YouTube:** [How to Print Quantity in Multiple Units with Conversion Factors in Sale Bill?](https://www.youtube.com/watch?v=jwTrGeA5GtQ)

## How to Print Quantity in Multiple Units with Conversion Factors in Sale Bill?

In this tutorial, we are going to demonstrate how to **add quantity columns in printing based on the conversion factor** defined during billing.

For example: In this bill, **one strip** is transacted, which equals **10 tablets**. Let’s see how to display both values in the print format.

***

### Add C.F Columns in Sale Multiple Printing Configuration

* Go to the menu → **Configuration → Sale Multiple Printing Configuration**.
* Select the required **series** and open **Print Columns**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fox55vVFYGbYVYhFo4vaf%2FVB%20-%20Print%20Column.png?alt=media&#x26;token=8b459765-9746-46d3-a09e-5616b850c1c8" alt=""><figcaption></figcaption></figure>

* The list of available columns will appear. Some columns, such as stick, are already added.
* Search for the **quantity conversion factors**:
  * **CF1 → Strip**
  * **CF2 → Tablets**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FtaA79Py1Q6t94M640cPF%2FVB%20-%20Setup%20Column%20Attribute.png?alt=media&#x26;token=acdbe2b5-e343-44b8-8ab9-45281b537fb0" alt=""><figcaption></figcaption></figure>

***

### Verify Conversion Factor in Master

* Go to the **Master window → Pack Details**.
* Here, you can verify the conversion factor.
  * For example, **1 Strip = 10 Tablets**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F1t2GjKlvfNZ3AbEAzfKl%2FVB%20-%20Item%20CF.png?alt=media&#x26;token=190ad456-5544-4923-866a-c2ef2f6cce85" alt=""><figcaption></figcaption></figure>

* The **Rate per Pack**, **Rate per Strip**, and **Rate per Tablet** are already defined.
* Save the configuration and return to the **Sales Bill window**.
* Click **Print** to preview.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fu4xjVt5Gs2vLKCgED8qv%2FVB%20-%20Preview.png?alt=media&#x26;token=007f16b4-6452-49ea-b558-ecd295f07b25" alt=""><figcaption></figcaption></figure>

The bill now displays the **quantity in both strips and tablets**.

***

### Add C.F Columns in Designer Printing Format

* Go to **Continuous Printing → Sales Bill Print Designer and Printing**.
* Choose the required **configuration and sales bill** from the list.
* Click **Refresh** and open the **Design Window**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F0z08zfRhAyDTKr0dNsqq%2FDP%20-%20Design%20n.png?alt=media&#x26;token=325e6dd4-3df9-4d1b-aebe-03e8c2350e2d" alt=""><figcaption></figcaption></figure>

***

### Insert Quantity Columns

* From the **Table menu**, open **Edit Bound Table**&#x20;

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FMFNQva1vzHGQsUItRtB5%2FDP%20-%20Edit%20Bound%20Table.png?alt=media&#x26;token=a80d8ca8-7c25-4201-8055-6b2464790514" alt=""><figcaption></figcaption></figure>

* Click on **Settings**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FxHQzOCMGlS2UYJXALRfj%2FDP%20-%20Settings.png?alt=media&#x26;token=f76b1002-2cbf-48f9-adaa-9accb60d06df" alt=""><figcaption></figcaption></figure>

* Use **Add Column** to insert new fields:
  * From **Bound Columns**, search for **Units Pack** → insert it.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fr5HAJqnbOgMZNeQSh6GG%2FDP%20-%20Qty%20in%20Strip%20new.png?alt=media&#x26;token=6dbadb99-28fa-4ee5-b8c1-ce11bb7bc9e8" alt=""><figcaption></figcaption></figure>

* Rename the header text to **Quantity in Strips**.
  * Search for **CF1** → insert it.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FBn3kSavLQMMHseJ8VH0X%2FDP%20-%20CF1.png?alt=media&#x26;token=871a7d38-7e94-4dba-b2fb-1d3d03d17ff4" alt=""><figcaption></figcaption></figure>

* Rename the header text to **Quantity in Tablets (Units)**.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FfK4xYC45UVBIWXGWIFH7%2FDP%20-%20Field%20Header.png?alt=media&#x26;token=936b271a-26ea-468a-a0f3-3ddff0054be4" alt=""><figcaption></figcaption></figure>

***

### Format Columns

* In **Column Properties**, set the **column type** to **Dimension**.
* Open the **Column Expression window** and set **decimal places = 2**.
  * Apply this to both new columns.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F24S1g30FCb9o0VtEZ2X7%2FDP%20-%20Column%20Propelrtyt.png?alt=media&#x26;token=c24f33c9-433b-4764-aaa4-907ae50704f3" alt=""><figcaption></figcaption></figure>

* Under **Column Styles**, customize:
  * Background color
  * Text appearance
  * Alignment
  * Border style
  * Font

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Fns87MgmJBb5ljZxhO5hr%2FDP%20-%20Column%20Style.png?alt=media&#x26;token=92da07c6-d425-4fc4-95bc-0591d24364ec" alt=""><figcaption></figcaption></figure>

* Use the **Move Left** button to arrange column order.
* Click **OK** to exit the settings.

***

### Save and Preview

* Save the changes and preview the print design.

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F9sjLIarIDNrr4fdkhoRn%2FDP%20-%20Preview.png?alt=media&#x26;token=4d561d96-9b93-4050-9b4f-98df8c5d7aef" alt=""><figcaption></figcaption></figure>

The bill now displays **quantities according to the transacted conversion factor**—showing both **strips** and **units**.
