> For the complete documentation index, see [llms.txt](https://kb.stoque.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.stoque.com.br/abaris/zeev-sead/configurar/documentos/hierarquia-de-documentos.md).

# Hierarquia de Documentos

Agrupar de forma hierárquica, documentos que possuam um mesmo valor de um índice.

#### Nova Hierarquia.

* Clicar em: [Documentos.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)

* Clicar em: [Hierarquia de Documento.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)

* Clicar em: [Nova Hierarquia.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)

* É aberta a tela: [Nova Hierarquia.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)

* Preencher os campos obrigatórios.

* Clicar em: [**Salvar.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
  * Caso o nome já exista.
    * **A mensagem “**[**Já existe um item com os dados informados.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**”, é exibida.**
  * Caso os campos obrigatórios não estejam preenchidos.
    * **A mensagem "**[**Você deve preencher corretamente todos os itens obrigatórios.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**", é exibida.**
  * Caso os campos obrigatórios estejam preenchidos.
    * **A mensagem “**[**Ação realizada com sucesso.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**”, é exibida.**

* **Hierarquia:** Nome da hierarquia.

* **Agrupador:** Exibe todos os índices cadastrados no sistema.

* **Agrupadores:** Índices que serão utilizados para o agrupamento.

**-**

#### Editar.

* Clicar em: [Documentos.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* Clicar em: [Hierarquia de Documento.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* Clicar em: [Hierarquias de Documentos.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* É aberta a tela: [Hierarquias de Documentos.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* Selecionar uma hierarquia.
* Clicar em: [Editar\*\*.\*\*](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* É aberta a tela: [Editar:...](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
* Alterar algum dado.
* Clicar em: [Salvar.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
  * **A mensagem "**[**Ação realizada com sucesso.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**", é exibida.**

\-

#### Excluir.

* Clicar em: **Documentos.**
* Clicar em: **Hierarquia de Documento.**
* Clicar em: **Hierarquias de Documentos.**
* É aberta a tela: **Hierarquias de Documentos.**
* Selecionar uma hierarquia.
* Clicar em: [Excluir.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
  * **A mensagem "**[**Deseja excluir o item selecionado?**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**", é exibida.**
* Clicar em: \*\*[Sim\*\*.](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)
  * **A mensagem “**[**Ação realizada com sucesso.**](https://www.notion.so/Hierarquia-de-Documentos-71eae5dfdcc143e7bffef5f35c3dc52f?pvs=21)**”, é exibida.**


---

# 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://kb.stoque.com.br/abaris/zeev-sead/configurar/documentos/hierarquia-de-documentos.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.
