# Various Rule: "Fixed Quantity"

Starting with release 8.6, a new rule named "**Fixed Quantity"** is now available for various cost/revenue items. When selected, a new "**Quantity"** field appears, allowing you to enter any ***positive*** quantity.&#x20;

{% tabs %}
{% tab title="Selected rule: Lumpsum" %}

<figure><img src="/files/tMOSMWvor87KBOinu2XB" alt=""><figcaption><p>Figure 1: Create modal using lumpsum rule</p></figcaption></figure>
{% endtab %}

{% tab title="Selected rule: Fixed Quantity" %}

<figure><img src="/files/m62goAQK5oemQqWbdvz5" alt=""><figcaption><p>Figure 2: Create modal using Fixed Quantity rule</p></figcaption></figure>
{% endtab %}
{% endtabs %}

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="/files/HL6RMJNTcUcCUhfnKSJw" alt=""><figcaption><p>Figure 3: Voyage Various Cost/Revenue Tab</p></figcaption></figure>
{% endtab %}

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

<figure><img src="/files/mcwXXtBF4kbfC9W9pnsy" alt=""><figcaption><p>Figure 4: Voyage Full-Screen Various Grid</p></figcaption></figure>
{% endtab %}
{% endtabs %}

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

### Renamed Rules: "Percentage" & "Rate Based"

* ***"Percentage"*** is now called ***"Percentage on Freight"***.
* ***"Rate Based"*** is now called "***Cargo Quantity Based"***.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dataloy.com/release-8.7/voyage-management-system/step-by-step-guides/voyages/maintain-voyages/various-cost-revenue/various-rule-fixed-quantity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
