> For the complete documentation index, see [llms.txt](https://knowledge.out-smart.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/gestao-de-stocks/utilizar-o-stock-em-ordens-de-trabalho.md).

# Utilizar o Stock em Ordens de trabalho

Manter o stock correto ao selecionar o Armazém certo quando os Artigos são usados em Ordens de trabalho.

O stock pode ser atualizado automaticamente a partir de Ordens de trabalho.

Tal acontece quando os Funcionários registam os Artigos utilizados no Armazém correto.

### Como funciona o fluxo

1. O Funcionário abre a Ordem de trabalho.
2. O Funcionário seleciona o Armazém.
3. O Funcionário regista os Artigos utilizados.
4. O OutSmart deduz a quantidade utilizada do Armazém selecionado.

### Porque a seleção do Armazém é importante

O Armazém selecionado define de onde o stock é deduzido.

Se os Funcionários escolherem o Armazém errado, a visão do stock torna-se pouco fiável.

{% hint style="info" %}
Ensinar os Funcionários a confirmar o Armazém antes de registarem os Artigos utilizados.
{% endhint %}

### Perguntas frequentes

<details>

<summary>O stock é sempre atualizado automaticamente?</summary>

É atualizado quando os Artigos são registados na Ordem de trabalho com o Armazém correto.

</details>

<details>

<summary>Porque é importante a etapa do Armazém?</summary>

Mantém a dedução associada à localização correta do stock.

</details>

<details>

<summary>Quem beneficia deste fluxo?</summary>

Tanto as equipas de escritório como as equipas de campo.

Todos veem uma posição de stock mais fiável.

</details>

### Tópicos relacionados

* [**Stock**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/gestao-de-stocks.md)
* [**Fluxos de trabalho**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/fluxos-de-trabalho.md)
* [**2BA**](https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/2ba.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://knowledge.out-smart.com/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/gestao-de-stocks/utilizar-o-stock-em-ordens-de-trabalho.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
