> For the complete documentation index, see [llms.txt](https://ajuda.consistem.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.consistem.com.br/tecnologia/erp/componentes/funcionalidades/pesquisa-avancada/pesquisa-avancada-de-leitor-dinamico.md).

# Pesquisa Avançada de Leitor Dinâmico

O Campo pesquisa avançada leitor dinâmico, não tem um padrão especifico e pode ser implementado em qualquer **campo** de uma tela, desde que o registro desse campo tenha um cadastro prévio e não possua um leitor avançado associado. Assim esse campo, permite a consulta e validação de registros já existentes no sistema. Por ser dinâmico, não depende de rotinas ou tabelas, podendo ser utilizado com qualquer tabela cadastrada no sistema.

{% hint style="success" %}
**Exemplo**\
Representante, transportador, tipo de nota, peças de confecção, grade de confecção, empresa, natureza, transação de estoque, todos esses são dados cadastrados no sistema, mas atualmente não têm um leitor avançado disponível.
{% endhint %}

<figure><img src="https://1535499562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFuSXZSnkY0bm1EPoBQFD%2Fuploads%2FzHw5Zp2lrCxVahP1e3qf%2Fimage.png?alt=media&amp;token=a051a663-d54f-414b-846a-9e233bba8aef" alt=""><figcaption></figcaption></figure>

A seguir, estão exemplificadas, algumas pesquisas que podem ser realizadas:

Esse campo apresenta um tamanho variável e possibilita a inserção apenas de códigos que já estão cadastrados no sistema. Caso um código ainda não cadastrado seja digitado, o leitor informará que o código não foi encontrado.

<figure><img src="https://1535499562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFuSXZSnkY0bm1EPoBQFD%2Fuploads%2FmR6z7fjOMLnS409QD5BR%2Fimage.png?alt=media&amp;token=8ad584d2-40ef-43bf-8606-6c672f6f9a14" alt=""><figcaption></figcaption></figure>

Se for inserido um código já cadastrado, o sistema exibirá no display ao lado do campo a descrição do registro correspondente.

<figure><img src="https://1535499562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFuSXZSnkY0bm1EPoBQFD%2Fuploads%2Fo2HYRA0OBlwohiAR8wLD%2Fimage.png?alt=media&amp;token=c6822dee-60e8-4130-95af-3d5d8748f028" alt=""><figcaption></figcaption></figure>

Além disso, a tecla **F7** do campo pode se apresentar de forma simples, mostrando apenas o código e a descrição, ou como um **F7** já existente no sistema, que poderá mais elaborado, dependendo da aplicação do leitor dinâmico. Com isso, é viável integrar um **F7** com um campo de múltipla seleção de registros.

<figure><img src="https://1535499562-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFuSXZSnkY0bm1EPoBQFD%2Fuploads%2F0oVw1u5PchPLF6RDc4Hk%2Fimage.png?alt=media&amp;token=af315e71-7151-4260-8157-158a5d3b5db2" alt=""><figcaption></figcaption></figure>

<p align="center">Esse conteúdo foi útil?</p>

<p align="center"><a href="https://movidesk.consistem.com.br/form/10395/" class="button primary" data-icon="thumbs-up">Sim</a> <a href="https://movidesk.consistem.com.br/form/10395/" class="button primary" data-icon="thumbs-down">Não</a></p>


---

# 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://ajuda.consistem.com.br/tecnologia/erp/componentes/funcionalidades/pesquisa-avancada/pesquisa-avancada-de-leitor-dinamico.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.
