Tabela AOT

Agrup. x Rotina de Integração
8camposNome físicoAOT010(empresa 01)

Campos da tabela AOT

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

CampoDescrição
AOT_FILIAL
Caractere (C)(2)
Filial
AOT_ROTINA
Caractere (C)(20)
Rotina
Máscara:
@!
Contexto:
Real
Consulta F3:
ROTINT
AOT_CODAGR
Caractere (C)(6)
Cod. Agrup.
Máscara:
@!
Contexto:
Real
Consulta F3:
AOL
AOT_DSCAGR
Caractere (C)(40)
Desc. Agrup.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
AOT_NIVAGR
Caractere (C)(3)
Cod. Nivel
Máscara:
@!
Contexto:
Real
Consulta F3:
AGRNIV
AOT_DSCNIV
Caractere (C)(40)
Desc. Nivel
Máscara:
@!
Contexto:
Virtual (não existe no banco)
AOT_INCREM
Caractere (C)(1)
Incremental?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
AOT_MSBLQL
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Inativo
  • 2Ativo

SELECT de exemplo da tabela AOT

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
  AOT.AOT_FILIAL,
  AOT.AOT_ROTINA,
  AOT.AOT_CODAGR,
  AOT.AOT_NIVAGR,
  AOT.AOT_INCREM,
  AOT.AOT_MSBLQL
FROM AOT010 AOT
WHERE AOT.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.