# Gross Amount Qty

**YouTube:** [How to Configure Shortage (%) , Gross Qty , Net Qty , and Impact on Calculations in Sale Bill?](https://www.youtube.com/watch?v=kvdpmx6xK5M)

## How to Configure Shortage (%), Gross Qty, Net Qty and Impact on Calculations in Sale Bill?

This tutorial explains **two key configuration parameters** in the **Sale Voucher Configuration**:

* **Gross Amount Qty**
* **Gross Quantity Change**

These settings control how amounts are calculated based on **net or gross quantity** and how **shortages** affect quantity fields during sales billing.

***

### Access Sale Voucher Configuration

* Navigate to **Sale Voucher Configuration**.
* Select the relevant **Billing Series**.
* Under the Other Settings - 2.
* Locate the option labeled as:

  > **"Gross Amount Qty"**\
  > This option offers two modes:

  * **Net Quantity**
  * **Gross Quantity**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FHH4TiWD7L1ZpjbaeRh7E%2FGross%20Amount%20Qty%20-%20Configuration.png?alt=media&#x26;token=bc4def97-1624-42c9-9629-4452bb8cbf34" alt=""><figcaption></figcaption></figure>

* Below it, configure the related setting under the Other Settings - 3.

  > **"Gross Quantity Change"**\
  > Available options:

  * Update Net Quantity
  * Update Shortage Percent Only
  * Quantity as Gross Quantity

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2Ftnr4x03pWoKQN3X4QT58%2FGross%20Qty%20Change%20-%20Configuration.png?alt=media&#x26;token=a58044bb-5428-4097-810e-671fc494e204" alt=""><figcaption></figcaption></figure>

***

> ### **"Let's understand both options of Gross Amount Qty one by one."**

### Option 1 - Gross Amount Qty = **Net Quantity**

> In this mode, the **gross amount** is calculated based on the **net quantity** (after applying any shortage).

#### Configuration:

* **Gross Amount Qty** = Net Quantity
* **Gross Quantity Change Options**: Let’s explore all three one by one.

***

#### **Gross Quantity Change = Update Net Quantity**

* **Scenario:** You enter **100 units** and apply a **10% shortage**.
* **System Behavior:**
  * **Net Quantity** updates to **90**
  * **Gross Quantity** remains at **100**
  * **Gross Amount** is calculated based on **Net Quantity (90)**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FpIrQZ9B50sD4ubpuJUUq%2FGross%20Quantity%20Change%20%3D%20Update%20Net%20Quantity.png?alt=media&#x26;token=2902edd4-9db0-4bb5-a1bc-7ae046caaaad" alt=""><figcaption></figcaption></figure>

***

#### **Gross Quantity Change = Update Shortage Percent Only**

* **You apply 10% shortage**
* **System Behavior:**
  * **Shortage Percent** updates
  * **Gross Quantity** adjusts accordingly
  * **Net Quantity** remains unchanged
  * **Gross Amount** still based on **Net Quantity**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FIn6WavPF6vlZdXncrVaq%2FGross%20Quantity%20Change%20%3D%20Update%20Shortage%20Percent%20Only.png?alt=media&#x26;token=a6cc547d-da54-4a75-80c9-66095978df50" alt=""><figcaption></figcaption></figure>

***

#### **Gross Quantity Change = Quantity as Gross Quantity**

* **Apply 10% shortage**
* **System Behavior:**
  * **Gross Quantity** updates to **90**
  * **Net Quantity** remains unchanged
  * **Gross Amount** is still calculated using **Net Quantity**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FupcSSDsPhKOx1vfuVfcE%2FGross%20Quantity%20Change%20%3D%20Quantity%20as%20Gross%20Quantity.png?alt=media&#x26;token=cce08a79-4563-4538-a016-745ef523a22c" alt=""><figcaption></figcaption></figure>

***

### Option 2 - Gross Amount Qty = **Gross Quantity**

> In this mode, the **gross amount** is calculated using the **gross quantity**.

#### Configuration:

* **Gross Amount Qty** = Gross Quantity

Let’s now explore how each "Gross Quantity Change" parameter behaves.

***

#### **Gross Quantity Change = Update Net Quantity**

* **Apply 10% shortage on 100 units**
* **System Behavior:**
  * **Net Quantity** updates to **90**
  * **Gross Quantity** remains at **100**
  * **Gross Amount** is calculated using **Gross Quantity (100)**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F3alo2FzVZVkbWnGy8QCa%2FGross%20Amount%201.png?alt=media&#x26;token=c3c87ce1-5ff1-40c6-8525-813b88b0869f" alt=""><figcaption></figcaption></figure>

***

#### **Gross Quantity Change = Update Shortage Percent Only**

* **Apply 10% shortage**
* **System Behavior:**
  * **Shortage Percent** is updated
  * **Gross Quantity** adjusts (e.g., from 100 to 90)
  * **Net Quantity** remains unchanged
  * **Gross Amount** is calculated using **Gross Quantity**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2F6arQD0X17tygYubPwwPW%2FGross%20Amount%202.png?alt=media&#x26;token=16746924-28b3-400e-a4cd-77cdaaabf450" alt=""><figcaption></figcaption></figure>

***

#### **Gross Quantity Change = Quantity as Gross Quantity**

* **Apply 10% shortage**
* **System Behavior:**
  * **Gross Quantity** updates to **90**
  * **Net Quantity** remains unchanged
  * **Gross Amount** is calculated using **updated Gross Quantity (90)**

<figure><img src="https://4031188996-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXMVkjt8zqHBQX1c9QvFS%2Fuploads%2FM9EqG3ratYa9K8yrlEV7%2FGross%20Amount%203.png?alt=media&#x26;token=65bf700e-c707-4ae5-bbe7-dd6539ac3efc" alt=""><figcaption></figcaption></figure>

***

### Summary Table

| **Config**                                                           | **Shortage Applied** | **Gross Qty** | **Net Qty** | **Amount Based On** |
| -------------------------------------------------------------------- | -------------------- | ------------- | ----------- | ------------------- |
| <p>Gross Amt Qty = Net Qty<br>GQ Change = Update Net Qty</p>         | 10%                  | 100           | 90          | Net Qty (90)        |
| <p>Gross Amt Qty = Net Qty<br>GQ Change = Update Shortage Only</p>   | 10%                  | 90            | 100         | Net Qty (100)       |
| <p>Gross Amt Qty = Net Qty<br>GQ Change = Qty as Gross Qty</p>       | 10%                  | 90            | 100         | Net Qty (100)       |
| <p>Gross Amt Qty = Gross Qty<br>GQ Change = Update Net Qty</p>       | 10%                  | 100           | 90          | Gross Qty (100)     |
| <p>Gross Amt Qty = Gross Qty<br>GQ Change = Update Shortage Only</p> | 10%                  | 90            | 100         | Gross Qty (90)      |
| <p>Gross Amt Qty = Gross Qty<br>GQ Change = Qty as Gross Qty</p>     | 10%                  | 90            | 100         | Gross Qty (90)      |

***

### Final Notes

* **Net Quantity**: Used for actual stock movement.
* **Gross Quantity**: Used for billing and calculation when shortages are involved.
* Selecting the correct configuration depends on your **business logic**, **shortage handling**, and **billing policy**.
