Tabela GFP

Relaciona Prof x Especialidade
6camposNome físicoGFP010(empresa 01)

Campos da tabela GFP

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

CampoDescrição
GFP_FILIAL
Caractere (C)(2)
Filial
GFP_CODCRM
Caractere (C)(7)
COD MEDICO
Máscara:
@!
Contexto:
Real
GFP_ITEESP
Caractere (C)(3)
ITEM SEQUEN
Máscara:
@!
Contexto:
Real
GFP_CODESP
Caractere (C)(2)
ESPECIALIDAD
Máscara:
@!
Contexto:
Real
Consulta F3:
GFR001
Validação:
HS_VLDE24()
GFP_NOMESP
Caractere (C)(40)
DESCRICAO
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GFP_LOGARQ
Caractere (C)(40)
LOG ARQUIVO
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela GFP

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
  GFP.GFP_FILIAL,
  GFP.GFP_CODCRM,
  GFP.GFP_ITEESP,
  GFP.GFP_CODESP,
  GFP.GFP_LOGARQ
FROM GFP010 GFP
WHERE GFP.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.