> 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/contratos/compreender-a-geracao-de-ordens-de-trabalho-do-contrato.md).

# Compreender a geração de Ordens de trabalho do Contrato

Ver como o OutSmart transforma os Modelos de Contrato em Ordens de trabalho geradas.

Os contratos geram ordens de trabalho com base no agendamento recorrente configurado.

O momento da geração depende da data agendada e dos dias de antecedência.

### Como funciona a geração

O OutSmart calcula as datas agendadas do contrato.

Depois, determina quando cada ordem de trabalho deve ser criada.

A data de geração baseia-se na data agendada menos o prazo de antecedência configurado.

### O que afeta a geração

Os fatores importantes incluem:

* agendamento recorrente
* dias de antecedência
* tipo de contrato
* encomenda por objeto

### Perguntas frequentes

<details>

<summary>O OutSmart verifica os contratos automaticamente?</summary>

Sim.

A geração do contrato é tratada automaticamente.

</details>

<details>

<summary>Pode um contrato criar várias ordens de trabalho?</summary>

Sim.

Isso depende da configuração do contrato e da estrutura do objeto.

</details>

<details>

<summary>O que acontece após a geração?</summary>

A ordem de trabalho passa a integrar o fluxo normal de ordens de trabalho.

</details>

### Tópicos relacionados

* [**Configurar o agendamento recorrente**](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/contratos/configurar-o-agendamento-recorrente.md)
* [**Definir os dias de antecedência**](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/contratos/definir-dias-de-antecedencia.md)
* [**Gerir Contratos**](/outsmart-knowledge-base/outsmart-knowledge-base-pt/loja-virtual-pacotes-e-power-ups/power-ups/contratos/gerir-contratos.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/contratos/compreender-a-geracao-de-ordens-de-trabalho-do-contrato.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.
