Dicionário Protheus
Início

Tabela GHU no Protheus

ITENS PRESCR. PADRAO

O que é a tabela GHU no Protheus?

A tabela GHU faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens prescr. padrao.

Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.

A tabela GHU possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.

Nesta página você pode consultar a estrutura completa da tabela GHU, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE GHU
X2_PATH \DATA\
X2_ARQUIVO GHU990
X2_NOME ITENS PRESCR. PADRAO
X2_NOMESPA ITEMS PRESCR. ESTANDAR
X2_NOMEENG STANDARD PRESCR. ITEMS
X2_ROTINA -
X2_MODO E
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO -
X2_PYME N
X2_MODULO 51
X2_DISPLAY -
X2_SYSOBJ -
X2_USROBJ -
X2_POSLGT 1
X2_CLOB 2
X2_AUTREC 2
X2_TAMFIL 2
X2_TAMUN 0
X2_TAMEMP 0
X2_STAMP 2
X2_INSDT 2
D_E_L_E_T_ -
R_E_C_N_O_ 5059
R_E_C_D_E_L_ 0

Campos da Tabela GHU (24 campos)

X3_ARQUIVO X3_ORDEM X3_CAMPO X3_TIPO X3_TAMANHO X3_DECIMAL X3_TITULO X3_TITSPA X3_TITENG X3_DESCRIC X3_DESCSPA X3_DESCENG X3_PICTURE X3_VALID X3_USADO X3_RELACAO X3_F3 X3_NIVEL X3_RESERV X3_CHECK X3_TRIGGER X3_PROPRI X3_BROWSE X3_VISUAL X3_CONTEXT X3_OBRIGAT X3_VLDUSER X3_CBOX X3_CBOXSPA X3_CBOXENG X3_PICTVAR X3_WHEN X3_INIBRW X3_GRPSXG X3_FOLDER X3_PYME X3_CONDSQL X3_CHKSQL X3_IDXSRV X3_ORTOGRA X3_IDXFLD X3_TELA X3_PICBRV X3_AGRUP X3_POSLGT X3_MODAL X3_CHKSUM X3_ADDSUM D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
GHU 01 GHU_FILIAL C 2 0 Filial Sucursal Branch Filial do Sistema Sucursal del Sistema System branch - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N - - - - - - - - - - 033 - N - - N N N - - - 1 2 - - - 81437 0
GHU 02 GHU_ITEMBR C 3 0 Item Item Item sequencia do item secuencia del item Item sequence @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81438 0
GHU 03 GHU_TPITMP C 1 0 Tipo Item Tipo Item Item Type Tipo do Item Tipo de Item Item Type - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - #HS_TIPPRE() #HS_TIPPRE() #HS_TIPPRE() - HS_VLWHEN() - - - N - - N N N - - - 1 2 - - - 81439 0
GHU 04 GHU_CDMEDI C 15 0 Codigo Codigo Code Codigo Codigo Code @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - 030 - N - - N N N - - - 1 2 - - - 81440 0
GHU 05 GHU_DSITEM C 30 0 Descricao Descripcion Description Descricao Med/Diet/Cuid Descripc. Med/Diet/Cuid Description Med/Diet/Care @! - x x x x x x x x x x x x x x x x HS_PREITEM(GHU->GHU_TPITMP, GHU->GHU_CDMEDI) - 1 xxxxxx x - - - S V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 81441 0
GHU 06 GHU_CDITPO C 3 0 Item Posolog Item Posolog Posol.Item Codigo do Item Posologia Codigo del Item Posologia Posology Item - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81442 0
GHU 07 GHU_CDFRQA C 6 0 Codigo Freq Codigo Frec Freq.Code Codigo da Frequencia Codigo de Frecuencia Freq.Code - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81443 0
GHU 08 GHU_DSFRQA C 30 0 Desc Freq Desc Frec Freq.Desc. Descricao da Frequencia Descripcion de la Frecuen Freq.Description - - x x x x x x x x x x x x x x x x HS_X3RELAC('GFZ',1,'GHU_CDFRQA','GFZ_DSFRQA') - 1 xxxxxx x - - - S V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 81444 0
GHU 09 GHU_CDITMP C 6 0 Codigo Seq Codigo Sec. Seq. code Codigo Sequencial Codigo Secuencial Sequential code - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81445 0
GHU 10 GHU_APRESE C 30 0 Apresentacao Prestacion Presentation Apresentacao do item Presentacion del item Item presentation @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81446 0
GHU 11 GHU_APRESD C 50 0 Apres. Dil. Pres. Dis. Dil. Pres. Apresentacao do Diluente Presentac. del Disolvente Diluent Presentation @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81447 0
GHU 12 GHU_QTDMED N 10 4 Quantidade Cantidad Amount Quantidade Cantidad Amount @E 999.999 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81448 0
GHU 13 GHU_CDITUC C 3 0 Item Un Cons Item Un Cons C.Un.Item Codigo do Item Un. Consum Codigo del Item Un. Cons. Consumpt.Unit Item Code - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81449 0
GHU 14 GHU_CDUNIC C 2 0 Cod Un. Cons Cod Un. Cons C.Un.Code Codigo Unidade Consumo Codigo Unidad de Consumo Consumption Unit Code - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81450 0
GHU 15 GHU_DUNICO C 50 0 Desc Un. Con Desc Un. Con C.Un.Desc. Desc. Unidade Consumo Desc. Unidad Consumo Consumption Unit Desc. @! - x x x x x x x x x x x x x x x x HS_X3RELAC("SAH",1,"GHU_CDUNIC", "AH_UMRES") - 1 xxxxxx x - - - S V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 81451 0
GHU 16 GHU_SEQPRE C 6 0 Seq. Prescr. Sec. Prescr. Prescr. seq. Sequencial da Prescricao Secuencial de la Prescri. Prescription sequential @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - N A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81452 0
GHU 17 GHU_IDREGI C 1 0 Regime Regimen Diet Identificação do regime Identificac. del regimen Diet identification - - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - 0=Normal;1=Urgente;2=Se necessario 0=Normal;1=Urgente;2=Si fuera necesario 0=Standard;1=Urgency;2=If necessary - - - - - N - - N N N - - - 1 2 - - - 81453 0
GHU 18 GHU_OBSREG C 200 0 Complemento Complemento Complement Observação do regime Observacion del regimen Diet Detail @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81454 0
GHU 19 GHU_VOLUME N 5 0 Volume Volumen Volume Volume Dieta Volumen Dieta Diet Volume @E 99999 - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81455 0
GHU 20 GHU_CODVIA C 6 0 Via Acesso Via Acceso Access Via Via Acesso Via Acceso Access Via @! - x x x x x x x x x x x x x x x x - GFW001 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81456 0
GHU 21 GHU_DESVIA C 40 0 Desc Via Desc. Via Via Disc. Desc. da Via de Acesso Desc. de Via de Acceso Discount of Access Via @! - x x x x x x x x x x x x x x x x HS_X3RELAC("GFW",1,"GHU_CODVIA","GFW_DESVIA") - 1 xxxxxx x - - - S V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 81457 0
GHU 22 GHU_CDMINF C 6 0 Bomba Infus. Bomba Infus. Infus.Pump Bomba Infusora Bomba Infusora Infusion Pump @! - x x x x x x x x x x x x x x x x - GFY001 1 xxxxxx x - - - S A - - - - - - - - - - - N - - N N N - - - 1 2 - - - 81458 0
GHU 23 GHU_DSMINF C 40 0 Desc B. Inf. Desc. B. Inf Inf.P.Disc. Desc. Bomba Infusora Desc. Bomba Infusora Infusion Pump Disc. @! - x x x x x x x x x x x x x x x x HS_X3RELAC("GFY",1,"GHU_CDMINF","GFY_DSMINF") - 1 xxxxxx x - - - S V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 81459 0
GHU 24 GHU_VELINF C 10 0 Velocidade Velocidad Velocity Velocidade de Infusao Velocidad de Infusion Infusion Velocity @! - x x x x x x x x x x x x x x x x - - 1 xxxxxx x - - - S A R - - - - - - - - - - N - - N N N - - - 1 2 - - - 81460 0

Índices da Tabela GHU (3 índices)

INDICE ORDEM CHAVE DESCRICAO DESCSPA DESCENG PROPRI F3 NICKNAME SHOWPESQ IX_VIRTUAL IX_VIRCUST D_E_L_E_T_ R_E_C_N_O_ R_E_C_D_E_L_
GHU 1 GHU_FILIAL+GHU_ITEMBR+GHU_SEQPRE Item + Seq. Prescr. Item + Sec. Prescr. Item + Prescr. seq. S - - S 2 3 - 12009 0
GHU 2 GHU_FILIAL+GHU_TPITMP+GHU_CDITMP Tipo Item + Codigo Seq Tipo Item + Codigo Sec. Item Type + Seq. code S - - S 2 3 - 12010 0
GHU 3 GHU_FILIAL+GHU_SEQPRE Seq. Prescr. Sec. Prescr. Prescr. seq. S - - S 2 3 - 12011 0

Perguntas frequentes

Para que serve a tabela GHU no Protheus?

Ela é utilizada para itens prescr. padrao dentro do sistema ERP Protheus.

Como consultar os campos da tabela GHU?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela GHU?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.