Tabela AON

Níveis do Agrupador x Registro
6camposNome físicoAON010(empresa 01)

Campos da tabela AON

6 campos no dicionário de dados do TOTVS Protheus.

CampoDescrição
AON_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
Validação:
Pertence("1|2")
AON_CODAGR
Caractere (C)(6)
Codigo
Máscara:
@!
Contexto:
Real
AON_CODNIV
Caractere (C)(3)
Cod. Nivel
Máscara:
@!
Contexto:
Real
AON_ENTIDA
Caractere (C)(3)
Entidade
Máscara:
@!
Contexto:
Real
AON_CHAVE
Caractere (C)(30)
Chave
Máscara:
@!
Contexto:
Real
Consulta F3:
AONREG
Validação:
CRMA580BVChv()
AON_DSCCHV
Caractere (C)(60)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela AON

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  AON.AON_FILIAL,
  AON.AON_CODAGR,
  AON.AON_CODNIV,
  AON.AON_ENTIDA,
  AON.AON_CHAVE
FROM AON010 AON
WHERE AON.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.