Itens do Orçamento Mat Med
A tabela GO5 faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens do orçamento mat med.
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 GO5 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 GO5, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GO5 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GO5990 |
| X2_NOME | Itens do Orçamento Mat Med |
| X2_NOMESPA | Ítems del Presupuesto Mat. Méd |
| X2_NOMEENG | Mat. Med. Quotation 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_ | 5208 |
| R_E_C_D_E_L_ | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GO5 | 01 | GO5_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 | - | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83521 | 0 |
| GO5 | 02 | GO5_NUMORC | C | 6 | 0 | Num orcament | Nro. presup. | Budget No. | Numero do orcamento | Numero de Presupuesto | Budget Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83522 | 0 |
| GO5 | 03 | GO5_ITEM | C | 3 | 0 | Item orcamen | Item presup. | Budget Item | Item do Orcamento | Item de Presupuesto | Budget Item | 999 | - | 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 | - | - | - | 83523 | 0 |
| GO5 | 04 | GO5_CODLOC | C | 2 | 0 | Setor | Sector | Sector | Setor | Sector | Sector | @! | HS_VldM19() | x x x x x x x x x x x x x x x x | M->GO0_CODLOC | GCS | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 83524 | 0 |
| GO5 | 05 | GO5_NOMLOC | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do setor | Descripcion del sector | Sector description | @! | - | x x x x x x x x x x x x x x x x | HS_INomLoc("GO5") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83525 | 0 |
| GO5 | 06 | GO5_QTDDES | N | 10 | 4 | Quantidade | Cantidad | Quantity | Quantidade de Mat/Med | Cantidad de Mat/Med | Mat / Med Quantity | @E 99,999.9999 | HS_VQtdMM(M->GO5_QTDDES) .and. HS_AQtM19() | x x x x x x x x x x x x x x x x | 1 | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 83526 | 0 |
| GO5 | 07 | GO5_CODDES | C | 15 | 0 | Mat/Med | Mat/Med | Mat/Me | Codigo do Mat/Med | Codigo de Mat/Med | Mat/Med Code | @! | HS_VldM19() | x x x x x x x x x x x x x x x x | - | G1R | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 83527 | 0 |
| GO5 | 08 | GO5_DDESPE | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do Mat/Med | Descripcion del Mat/Med | Med/Mat description | @! | - | x x x x x x x x x x x x x x x x | HS_X3Relac("SB1", 1, "GO5_CODDES", "B1_DESC") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SB1", 1, xFilial("SB1") + GO5->GO5_CODDES, "B1_DESC") | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83528 | 0 |
| GO5 | 09 | GO5_VALDES | N | 10 | 4 | Preco | Precio | Price | Preco do Mat/Med | Precio de Mat/Med | Mat / Med Price | @E 99,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83529 | 0 |
| GO5 | 10 | GO5_IDMARC | C | 2 | 0 | Id. Marca | Id. Marca | Ident. Mark | Identif. Reg. Marcado | Identif. Reg. Marcado | Identifies File Marked | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x x x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83530 | 0 |
| GO5 | 11 | GO5_CODPCT | C | 6 | 0 | Proc. Padrao | Proc. Estand | Stndrd proc. | Procedimento Padrao | Procedimiento Estandar | Standard procedure | @! | - | 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 | - | - | - | 83531 | 0 |
| GO5 | 12 | GO5_DESPCT | C | 30 | 0 | Descricao | Descripc. | Description | Descricao do Proc. Padrao | Descricao do Proc. Padrao | Standard procedure descr. | @! | - | x x x x x x x x x x x x x x x x | HS_INIPADR("GA1", 1, GO5->GO5_CODPCT,"GA1_DESC") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_INIPADR("GA1", 1, GO5->GO5_CODPCT, "GA1_DESC") | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83532 | 0 |
| GO5 | 13 | GO5_CODKIT | C | 5 | 0 | Cod do Kit | Cod del Kit | Kit Code | Codigo do Kit | Codigo del Kit | Kit 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 | - | - | - | 83533 | 0 |
| GO5 | 14 | GO5_DESKIT | C | 30 | 0 | Descricao | Descripcion | Description | Descricao do Kit | Descripc. del Kit | Kit Description | @! | - | x x x x x x x x x x x x x x x x | HS_X3Relac("GAF", 1, "GO5_CODKIT", "GAF_DESKIT") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_IniPadR("GAF", 1, GO5->GO5_CODKIT, "GAF_DESKIT",, .F.) | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83534 | 0 |
| GO5 | 15 | GO5_LOGARQ | C | 40 | 0 | Log do Arq | Log de Arch | File Log | Log do arquivo | Log del archivo | File Log | @! | - | x x x x x x x x x x x x x x x | HS_LogArq() | - | 1 | - | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83535 | 0 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GO5 | 1 | GO5_FILIAL+GO5_NUMORC+GO5_ITEM | Num orcament + Item orcamen | Nro. presup. + Item presup. | Budget No. + Budget Item | S | - | - | S | 2 | 3 | - | 12330 | 0 |
Ela é utilizada para itens do orçamento mat med dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
GO5_FILIAL,
GO5_NUMORC,
GO5_ITEM,
GO5_CODLOC,
GO5_NOMLOC,
GO5_QTDDES,
GO5_CODDES,
GO5_DDESPE,
GO5_VALDES,
GO5_IDMARC,
GO5_CODPCT,
GO5_DESPCT,
GO5_CODKIT,
GO5_DESKIT,
GO5_LOGARQ
FROM GO5
WHERE
D_E_L_E_T_ = ' '
AND GO5_FILIAL = 'VALOR'
AND GO5_NUMORC = 'VALOR'
AND GO5_ITEM = 'VALOR'
AND GO5_CODLOC = 'VALOR'
AND GO5_NOMLOC = 'VALOR'
AND GO5_QTDDES = 0
AND GO5_CODDES = 'VALOR'
AND GO5_DDESPE = 'VALOR'
AND GO5_VALDES = 0
AND GO5_IDMARC = 'VALOR'
AND GO5_CODPCT = 'VALOR'
AND GO5_DESPCT = 'VALOR'
AND GO5_CODKIT = 'VALOR'
AND GO5_DESKIT = 'VALOR'
AND GO5_LOGARQ = 'VALOR'