# Various Rule: Fixed Quantity

<figure><img src="https://content.gitbook.com/content/BOXrRRsrTBcdaVWqOIzi/blobs/QbxVdt0JhvI5vOC8fnR8/image.png" alt=""><figcaption><p>Figure 1: Create modal using Fixed Quantity rule</p></figcaption></figure>

The amount is calculated using:

$$
Amount = Quantity \times Rate
$$

If you need to record a ***negative*** amount, simply use a ***negative*** rat&#x65;**.**

For example:

$$
Quantity = 500.0\Rate=-2.5\Total\space Amount =-1250.0
$$

### Updates to the Various Cost/Revenue Tab and Full-Screen Drawer

An additional **Quantity** column has been introduced to both the **Various Cost/Revenue** tab and the full-screen **Voyage Drawer**. See the figures below.

{% tabs %}
{% tab title="Various Cost/Revenue Tab" %}

<figure><img src="https://content.gitbook.com/content/BOXrRRsrTBcdaVWqOIzi/blobs/irdgVL9lN4p9KzieTM4c/image.png" alt=""><figcaption><p>Figure 2: Voyage Various Cost/Revenue Tab</p></figcaption></figure>
{% endtab %}

{% tab title="Full-Screen View" %}

<figure><img src="https://content.gitbook.com/content/BOXrRRsrTBcdaVWqOIzi/blobs/foXQ376UzSspZAoAMmzx/image.png" alt=""><figcaption><p>Figure 3: Voyage Full-Screen Various Grid</p></figcaption></figure>
{% endtab %}
{% endtabs %}

***

{% hint style="warning" %}

### Important notes about the Quantity field:

* **When “Fixed Quantity” is selected**: The quantity is based on what you enter, and is used to calculate the various amount.
* **When any other rule is selected**: The quantity is determined by the chosen rule, and the value is ***not*** used for the calculation of the amount.
  {% endhint %}
