Tabela GMT

CONFIGURACAO CAMPOS ANAMNESE
6camposNome físicoGMT010(empresa 01)

Campos da tabela GMT

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

CampoDescrição
GMT_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
GMT_TABELA
Caractere (C)(3)
Arquivo
Máscara:
@!
Contexto:
Real
GMT_MOSTRA
Caractere (C)(1)
Mostra
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Nao
  • 1Sim
GMT_ORDEM
Caractere (C)(2)
Ordem
Máscara:
@!
Contexto:
Real
GMT_CAMPO
Caractere (C)(10)
Campo
Máscara:
@!
Contexto:
Real
GMT_CODLOC
Caractere (C)(2)
Setor
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela GMT

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
  GMT.GMT_FILIAL,
  GMT.GMT_TABELA,
  GMT.GMT_MOSTRA,
  GMT.GMT_ORDEM,
  GMT.GMT_CAMPO,
  GMT.GMT_CODLOC
FROM GMT010 GMT
WHERE GMT.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.