Tabela GHU

ITENS PRESCR. PADRAO
24camposNome físicoGHU010(empresa 01)

Campos da tabela GHU

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

24
CampoDescrição
GHU_FILIAL
Caractere (C)(2)
Filial
GHU_ITEMBR
Caractere (C)(3)
Item
Máscara:
@!
Contexto:
Real
GHU_TPITMP
Caractere (C)(1)
Tipo Item
Contexto:
Real
Modo de edição (When):
HS_VLWHEN()
1 valores possíveis
  • #HS_TIPPRE()
GHU_CDMEDI
Caractere (C)(15)
Codigo
Máscara:
@!
Contexto:
Real
GHU_DSITEM
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GHU_CDITPO
Caractere (C)(3)
Item Posolog
Contexto:
Real
GHU_CDFRQA
Caractere (C)(6)
Codigo Freq
Contexto:
Real
GHU_DSFRQA
Caractere (C)(30)
Desc Freq
Contexto:
Virtual (não existe no banco)
GHU_CDITMP
Caractere (C)(6)
Codigo Seq
Contexto:
Real
GHU_APRESE
Caractere (C)(30)
Apresentacao
Máscara:
@!
Contexto:
Real
GHU_APRESD
Caractere (C)(50)
Apres. Dil.
Máscara:
@!
Contexto:
Real
GHU_QTDMED
Numérico (N)(10,4)
Quantidade
Máscara:
@E 999.999
Contexto:
Real
GHU_CDITUC
Caractere (C)(3)
Item Un Cons
Contexto:
Real
GHU_CDUNIC
Caractere (C)(2)
Cod Un. Cons
Contexto:
Real
GHU_DUNICO
Caractere (C)(50)
Desc Un. Con
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GHU_SEQPRE
Caractere (C)(6)
Seq. Prescr.
Máscara:
@!
Contexto:
Real
GHU_IDREGI
Caractere (C)(1)
Regime
Contexto:
Real
3 valores possíveis
  • 0Normal
  • 1Urgente
  • 2Se necessario
GHU_OBSREG
Caractere (C)(200)
Complemento
Máscara:
@!
Contexto:
Real
GHU_VOLUME
Numérico (N)(5)
Volume
Máscara:
@E 99999
Contexto:
Real
GHU_CODVIA
Caractere (C)(6)
Via Acesso
Máscara:
@!
Contexto:
Real
Consulta F3:
GFW001
GHU_DESVIA
Caractere (C)(40)
Desc Via
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GHU_CDMINF
Caractere (C)(6)
Bomba Infus.
Máscara:
@!
Consulta F3:
GFY001
GHU_DSMINF
Caractere (C)(40)
Desc B. Inf.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
GHU_VELINF
Caractere (C)(10)
Velocidade
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela GHU

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
  GHU.GHU_FILIAL,
  GHU.GHU_ITEMBR,
  GHU.GHU_TPITMP,
  GHU.GHU_CDMEDI,
  GHU.GHU_CDITPO,
  GHU.GHU_CDFRQA,
  GHU.GHU_CDITMP,
  GHU.GHU_APRESE
FROM GHU010 GHU
WHERE GHU.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.