Tabela GNU

CONTROL. ATIV. TURNO
13camposNome físicoGNU010(empresa 01)

Campos da tabela GNU

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

13
CampoDescrição
GNU_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
GNU_REGATE
Caractere (C)(6)
Atendimento
Máscara:
@!
Contexto:
Real
GNU_STATUR
Caractere (C)(1)
Situacao
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Admissao
  • 1Transferencia
GNU_CDTURN
Caractere (C)(6)
Cod. Turno
Máscara:
@!
Contexto:
Real
GNU_CDQUES
Caractere (C)(6)
Questionario
Máscara:
@!
Contexto:
Real
GNU_DSQUES
Caractere (C)(40)
Desc. Quest.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GNU_REGGER
Caractere (C)(6)
Prontuario
Máscara:
@!
Contexto:
Real
GNU_NOMPAC
Caractere (C)(45)
Nome
Contexto:
Virtual (não existe no banco)
GNU_CODCRM
Caractere (C)(7)
Profissional
Máscara:
@!
Contexto:
Real
Consulta F3:
MED
GNU_NOMCRM
Caractere (C)(30)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GNU_USUARI
Caractere (C)(15)
Usuario
Máscara:
@!
Contexto:
Real
GNU_DATCON
Data (D)(8)
Dta Gravacao
Máscara:
@D
Contexto:
Real
GNU_HORCON
Caractere (C)(5)
Data da Grav
Contexto:
Real

SELECT de exemplo da tabela GNU

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
  GNU.GNU_FILIAL,
  GNU.GNU_REGATE,
  GNU.GNU_STATUR,
  GNU.GNU_CDTURN,
  GNU.GNU_CDQUES,
  GNU.GNU_REGGER,
  GNU.GNU_CODCRM,
  GNU.GNU_USUARI
FROM GNU010 GNU
WHERE GNU.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.