# Filtering

### Create a Landed / Sales Cost Filter

*This is an optional step*

* [ ] Go to **Menu: TradeQloud** -> **Landed** / **Sales Cost** -> **TQ Landed / Sales Cost Filter** -> **New**
* [ ] **Fill in the following fields**
  * [ ] **Landed / Sales Cost Budget**\
    \&#xNAN;*Select the Budget (from step 1) where this filter will be applied to*
  * [ ] **Filter Type**\
    \&#xNAN;*Depending on the filter type, more fields will become available.*

{% tabs %}
{% tab title="Items" %}

* [ ] Select an pre-created **'Item Saved Search'** as basis for filtering
* [ ] **Select** or **unselect** the **items from the filtering** as required
* [ ] **Click Save**

This will automatically create a **TQ Sales Cost Filter Item Application Record**

If new items are created the match the filter, they will be included by default

{% hint style="info" %}
[More information about Sales Cost Budget Filters](https://docs.tradeqloud.com/qloud-margin-control/using-the-application/sales-costs/sales-costs-budgets#create-sales-cost-budget-filters)
{% endhint %}
{% endtab %}

{% tab title="Transaction Body Field" %}

* [ ] Select the **Record Types** this should be applied to
* [ ] Select the Transaction **Field Name** to be filtered on
  * [ ] If the field has any joins, select the desired value in the **Value List**
  * [ ] Select the **Field Data Type** you want to use\
    \&#xNAN;*Only List/Record or Multiple Select can be selected*
* [ ] Select the **Operator**
* [ ] Select the value for the Operator to use in the **Value** field
* [ ] **Click Save**

{% hint style="info" %}
[More information about Sales Cost Budget Filters](https://docs.tradeqloud.com/qloud-margin-control/using-the-application/sales-costs/sales-costs-budgets#create-sales-cost-budget-filters)
{% endhint %}
{% endtab %}

{% tab title="Transaction Line Field" %}

* [ ] Select the **Record Types** this should be applied to
* [ ] Select the Transaction **Field Name** to be filtered on
  * [ ] If the field has any joins, select the desired value in the **Value List**
  * [ ] Select the **Field Data Type** you want to use\
    \&#xNAN;*Only List/Record or Multiple Select can be selected*
* [ ] Select the **Operator**
* [ ] Select the value for the Operator to use in the **Value** field
* [ ] **Click Save**

{% hint style="info" %}
[More information about Sales Cost Budget Filters](https://docs.tradeqloud.com/qloud-margin-control/using-the-application/sales-costs/sales-costs-budgets#create-sales-cost-budget-filters)
{% endhint %}
{% endtab %}
{% endtabs %}


---

# 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.tradeqloud.com/qloud-margin-control/using-qmc/setup-guides/filtering.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.
