# Various Rule: Fixed Quantity

<figure><img src="https://1604153402-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7R7IFboJW2JabvnivFfc%2Fuploads%2F8C4reYytlxLxNaG3IQuR%2Fimage.png?alt=media&#x26;token=65f844af-94f7-41d8-9041-76566dca1706" 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/7R7IFboJW2JabvnivFfc/blobs/owNTPv6VarjR9aa90lVF/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/7R7IFboJW2JabvnivFfc/blobs/j0ZZtVh1AT748tIbN3Ba/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 %}
