Tabela GHP

QUEST. ANAM. X FUNCOES ANAM.
5camposNome físicoGHP010(empresa 01)

Campos da tabela GHP

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

CampoDescrição
GHP_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
GHP_CDQUES
Caractere (C)(6)
Cod. Quest.
Máscara:
@!
Contexto:
Real
GHP_ITEM
Caractere (C)(3)
Item
Máscara:
@!
Contexto:
Real
GHP_CODFUN
Caractere (C)(6)
Codigo Fun.
Máscara:
@!
Contexto:
Real
Consulta F3:
GHN001
Validação:
HS_VldA47()
GHP_DESFUN
Caractere (C)(30)
Desc. Func.
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela GHP

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
  GHP.GHP_FILIAL,
  GHP.GHP_CDQUES,
  GHP.GHP_ITEM,
  GHP.GHP_CODFUN
FROM GHP010 GHP
WHERE GHP.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.