> For the complete documentation index, see [llms.txt](https://docs.tradeqloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tradeqloud.com/qloud-margin-control/using-qmc/setup-guides/sales-costs-setup/sales-cost-variance-handling.md).

# Sales Cost Variance Handling

Sales Cost can track and post variances. The system will automatically create a journal entry to correct any variances if this setting is enabled

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="https://3422641029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMzVAkLHuKD7fofWoLeMK%2Fuploads%2Fgit-blob-bb68856cca27ca1599cd76fe32cd0405107595ec%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3422641029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMzVAkLHuKD7fofWoLeMK%2Fuploads%2Fgit-blob-f18c5deacac89afb8f258d3eed286a4d60a77d02%2Fimage.png?alt=media" 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)

<figure><img src="https://3422641029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMzVAkLHuKD7fofWoLeMK%2Fuploads%2Fgit-blob-a34dfe52638a61af77b90f9d5eefffa3aadcd784%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3422641029-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMzVAkLHuKD7fofWoLeMK%2Fuploads%2Fgit-blob-6d6b1e8ed9709223f0e9d87d32e094f170429a05%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
