Tabela GFU

Anamnese
20camposNome físicoGFU010(empresa 01)

Campos da tabela GFU

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

20
CampoDescrição
GFU_FILIAL
Caractere (C)(2)
Filial
GFU_STAINT
Caractere (C)(2)
Legenda
Máscara:
@BMP
Contexto:
Real
GFU_REGATE
Caractere (C)(6)
Atendimento
Máscara:
@!
Contexto:
Real
GFU_CDANAM
Caractere (C)(6)
Anamnese
Máscara:
@!
Contexto:
Real
GFU_TPANAM
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Normal
  • 1Retificadora
GFU_DSQUES
Caractere (C)(40)
Desc. Quest.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GFU_REGGER
Caractere (C)(6)
Prontuario
Máscara:
@!
Contexto:
Real
GFU_MMARCA
Caractere (C)(1)
Marca
Máscara:
@BMP
Contexto:
Virtual (não existe no banco)
GFU_NOMPAC
Caractere (C)(45)
Nome
Máscara:
@!
Contexto:
Real
GFU_CODCRM
Caractere (C)(7)
Profissional
Máscara:
@!
Contexto:
Real
Consulta F3:
MED
Validação:
HS_VldMa7(1)
GFU_NOMCRM
Caractere (C)(30)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GFU_STANAM
Caractere (C)(1)
Situacao
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Aberta
  • 1Confirmada
GFU_DATCON
Data (D)(8)
Dta Gravacao
Contexto:
Real
GFU_HORCON
Caractere (C)(5)
Hora
Contexto:
Real
GFU_CDQUES
Caractere (C)(6)
Questionario
Máscara:
@!
Contexto:
Real
GFU_CDANAO
Caractere (C)(6)
Origem
Máscara:
@!
Contexto:
Real
GFU_ATENDI
Caractere (C)(1)
Tipo Atendto
Máscara:
@!
Contexto:
Virtual (não existe no banco)
3 valores possíveis
  • 0Internacao
  • 1Ambulatorio
  • 2Pronto Atendimento
GFU_CODESP
Caractere (C)(2)
Cod Esp
Máscara:
@!
Contexto:
Real
GFU_ANMORI
Caractere (C)(6)
Anm. Origem
Máscara:
@!
Contexto:
Real
GFU_RESERV
Caractere (C)(1)
Reservado
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela GFU

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
  GFU.GFU_FILIAL,
  GFU.GFU_STAINT,
  GFU.GFU_REGATE,
  GFU.GFU_CDANAM,
  GFU.GFU_TPANAM,
  GFU.GFU_REGGER,
  GFU.GFU_NOMPAC,
  GFU.GFU_CODCRM
FROM GFU010 GFU
WHERE GFU.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.