# Sales Cost Variance Handling

The default method is defined on the TradeQloud Setup record, but can be modified on budget / transaction records.

For example a Sales Cost Purchase Order is created for €500 (1000 quantity @ 0,50)

<figure><img src="/files/AUzIGu7muEYyMTBQDCrm" alt=""><figcaption></figcaption></figure>

The following accounts are defined on the SC - Private Labelling Item:

<figure><img src="/files/oSwG3E9IDP05T3sgFxDm" alt=""><figcaption></figcaption></figure>

If a Vendor Bill is then created from the Purchase Order for a rate of 0,75 (resulting in a €250 variance)&#x20;

<figure><img src="/files/Q1QpBu1Vig6H2Pp3rzb0" alt=""><figcaption></figcaption></figure>

The application will then create a Journal to capture this variance in the general ledger

<figure><img src="/files/OxF0A9qAyV86QGwAbq3s" alt=""><figcaption></figcaption></figure>


---

# 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/sales-costs-setup/sales-cost-variance-handling.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.
