# Prezzo di vendita automatico

{% hint style="info" %}
Come rendere un prezzo di vendita automatico
{% endhint %}

Per fare in modo che il prezzo di vendita di un articolo di magazzino venga calcolato automaticamente si deve andare ad attribuirgli un **Coefficiente di vendita**.

Per poter attribuire un margine di ricavo fisso a un articolo, si deve accedere all'articolo interessato da Magazzino/Articoli e scorrere fino alle sezioni Acquisto e Vendita.

![](https://854155609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPrbZ0HDR65ONtrhYsV70%2Fuploads%2FytcqBwcbJzuvLW7yh9Xi%2Fimage.png?alt=media\&token=697d4713-fade-45e4-ba20-b7463109b51c)

![](https://854155609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPrbZ0HDR65ONtrhYsV70%2Fuploads%2FD0cVVwQAqVoFKmubWefp%2Fimage.png?alt=media\&token=e2631f9c-a5ff-4216-887f-93be9f5e5a04)

Andando a impostare un **Coefficiente di vendita** potremo vedere ora che il campo **Prezzo di vendita** verrà calcolato in modo automatico in base alle variazioni del prezzo di acquisto.

![](https://854155609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPrbZ0HDR65ONtrhYsV70%2Fuploads%2FHvDYKecCk2p0HuUBeS4v%2Fimage.png?alt=media\&token=5dd2d5af-3e50-4b06-aac7-fc7a3228364f)

![](https://854155609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPrbZ0HDR65ONtrhYsV70%2Fuploads%2FIvzirBBM4RiTZHHVefvb%2Fimage.png?alt=media\&token=3e476968-5f7f-4d1a-8105-06f190492aea)

Andando a inserire questo articolo in una nuova **Fattura di vendita** sarà possibile riscontrare il Prezzo unitario di vendita calcolato automaticamente dell'articolo, il **Guadagno unitario**, e il **Margine di guadagno**.

![](https://854155609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPrbZ0HDR65ONtrhYsV70%2Fuploads%2FoQo8tVH1AQw84rUIj2iE%2Fimage.png?alt=media\&token=6364c7d7-c421-4638-bd03-6177905b8b23)


---

# 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.openstamanager.com/esempi/prezzo-di-vendita-automatico.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.
