Itens do Orçamento Atend
A tabela GO1 faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens do orçamento atend.
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 GO1 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 GO1, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GO1 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GO1990 |
| X2_NOME | Itens do Orçamento Atend |
| X2_NOMESPA | Ítems del Presupuesto Atenc. |
| X2_NOMEENG | Attend. 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_ | 5204 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GO1 | 01 | GO1_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 | - | - | - | 83481 | 0 |
| GO1 | 02 | GO1_SOLDES | C | 1 | 0 | Tipo de Lanc | Tipo asiento | Entry Type | Tipo de lancamento | Tipo de asiento | Entry Type | @! | Pertence("01") .And. HS_VSolDes() | x x x x x x x x x x x x x x x x | "0" | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 0=Solicitacao;1=Despesa | 0=Solicitud;1=Gasto | 0=Requisition; 1=Expense | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83482 | 0 |
| GO1 | 03 | GO1_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 | - | - | - | 83483 | 0 |
| GO1 | 04 | GO1_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 | HSPM19SEQ() | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83484 | 0 |
| GO1 | 05 | GO1_ORIMMP | C | 1 | 0 | Tipo despesa | Tipo gasto | Expense Type | Tipo de despesa | Tipo de gasto | Expense Type | @! | HSPM19COK() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | 0=Mat/Med;1=Procedimento/Honorario;2=Taxa/Diaria | 0=Mat./Med.;1=Procedimiento/Honorario;2=Tasa/Estadia | 0=Mat/Med; 1=Procedure/Fees, 2=Rate/Daily Wages | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83485 | 0 |
| GO1 | 06 | GO1_CODTES | C | 4 | 0 | Tipo estoque | Tipo stock | Stock Type | Tipo do estoque | Tipo de stock | Stock Type | 9999 | ExistCpo("SBM",M->GO1_CODTES) | x x x x x x x x x x x x x x x x | - | BMS | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83486 | 0 |
| GO1 | 07 | GO1_CODMMP | C | 10 | 0 | Cod componen | Cod. comp. | Comp. Code | Codigo do componente | Codigo del componente | Component Code | @! | - | x x x x x x x x x x x x x x x x | - | GA7 | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83487 | 0 |
| GO1 | 08 | GO1_DESMMP | C | 30 | 0 | Descr compon | Descr. comp. | Comp. Descr. | Descricao do componente | Descripcion componente | Component Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | HS_DESMMP(GO1->GO1_ORIMMP, GO1->GO1_CODTES, GO1->GO1_CODMMP) | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83488 | 0 |
| GO1 | 09 | GO1_QTDCOM | N | 10 | 4 | Quantidade | Cantidad | Quantity | Quantidade de componentes | Cantidad de componentes | Components Quantity | @E 99,999.9999 | - | 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 | - | - | - | 83489 | 0 |
| GO1 | 10 | GO1_VALUNI | N | 11 | 4 | Preco unit | Precio unit. | Unit Price | Preco unitario | Precio unitario | Unit Price | @E 999,999.9999 | - | 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 | - | - | - | 83490 | 0 |
| GO1 | 11 | GO1_VFILME | N | 8 | 2 | Valor Filme | Valor pelic | Film Value | Valor do Filme em (R$) | Valor Pelicula en (R$) | Film Value (R$) | @E 99,999.99 | - | 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 | - | - | - | 83491 | 0 |
| GO1 | 12 | GO1_VANEST | N | 8 | 2 | Valor Anest. | Valor Anest. | Anesth. Amnt | Valor do Anestesista | Valor del Anestesista | Anesthesist Amount | @E 99,999.99 | - | x x x x x x x x x x x x x x x x | 0 | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83492 | 0 |
| GO1 | 13 | GO1_VAUXIL | N | 8 | 2 | Valor Auxil. | Valor Auxil. | Assist. Amnt | Valor dos Auxiliares | Valor de los Auxiliares | Assistants Amount | @E 99,999.999 | - | x x x x x x x x x x x x x x x x | 0 | - | 1 | xxxxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83493 | 0 |
| GO1 | 14 | GO1_VALTOT | N | 11 | 4 | Valor total | Valor total | Total Amount | Valor total do item | Valor total del item | Item total amount | @E 999,999.9999 | - | 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 | - | - | - | 83494 | 0 |
| GO1 | 15 | GO1_VALDES | N | 11 | 4 | Desconto | Descuento | Discount | Valor de desconto | Valor descuento | Discount Value | @E 999,999.9999 | HS_VldDesc(M->GO1_VALDES, @M->GO1_VALUNI) | 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 | - | - | - | 83495 | 0 |
| GO1 | 16 | GO1_ORIGEM | C | 1 | 0 | Origem | Origen | Source | Origem do item | Origen del item | Item Source | @! | - | 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 | - | - | - | 83496 | 0 |
| GO1 | 17 | GO1_OBSORC | C | 40 | 0 | Observacao | Observacion | Note | Observacao do item orcam. | Observacion item presup. | Budget item Note | @! | - | 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 | - | - | - | 83497 | 0 |
| GO1 | 18 | GO1_OK | C | 2 | 0 | OK | OK | OK | OK | OK | OK | - | - | 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 | - | - | - | 83498 | 0 |
| GO1 | 19 | GO1_STATUS | C | 1 | 0 | Status | Estatus | Status | Status | Estatus | Status | - | - | x x x x x x x x x x x x x x x | "0" | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83499 | 0 |
| GO1 | 20 | GO1_SOLICI | C | 6 | 0 | Nro Solicit | Num Solicit | Req.Number | Numero da Solicitacao | Numero de la Solicitud | Request number | @! | - | 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 | - | - | - | 83500 | 0 |
| GO1 | 21 | GO1_NROREC | C | 6 | 0 | Nro. Recibo | Nº Recibo | Receipt Nbr. | Numero do Recibo | Numero de Recibo | Receipt Number | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83501 | 0 |
| GO1 | 22 | GO1_LOGARQ | C | 40 | 0 | Log do Arq. | Log del 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 x | HS_LOGARQ() | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 83502 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GO1 | 1 | GO1_FILIAL+GO1_NUMORC+GO1_ITEM | Num orcament + Item orcamen | Nro. presup. + Item presup. | Budget No. + Budget Item | S | - | - | S | 2 | 3 | - | 12322 | 0 |
| GO1 | 2 | GO1_FILIAL+GO1_NUMORC+GO1_STATUS | Num orcament + Status | Nro. presup. + Estatus | Budget No. + Status | S | - | - | S | 2 | 3 | - | 12323 | 0 |
| GO1 | 3 | GO1_FILIAL+GO1_SOLICI+GO1_ORIMMP+GO1_CODMMP | Nro Solicit + Tipo despesa + Cod componen | Num Solicit + Tipo gasto + Cod. comp. | Req.Number + Expense Type + Comp. Code | S | - | - | S | 2 | 3 | - | 12324 | 0 |
| GO1 | 4 | GO1_FILIAL+GO1_NROREC | Nro. Recibo | Nº Recibo | Receipt Nbr. | S | - | - | S | 2 | 3 | - | 12325 | 0 |
Ela é utilizada para itens do orçamento atend 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
GO1_FILIAL,
GO1_SOLDES,
GO1_NUMORC,
GO1_ITEM,
GO1_ORIMMP,
GO1_CODTES,
GO1_CODMMP,
GO1_DESMMP,
GO1_QTDCOM,
GO1_VALUNI,
GO1_VFILME,
GO1_VANEST,
GO1_VAUXIL,
GO1_VALTOT,
GO1_VALDES,
GO1_ORIGEM,
GO1_OBSORC,
GO1_OK,
GO1_STATUS,
GO1_SOLICI,
GO1_NROREC,
GO1_LOGARQ
FROM GO1
WHERE
D_E_L_E_T_ = ' '
AND GO1_FILIAL = 'VALOR'
AND GO1_SOLDES = 'VALOR'
AND GO1_NUMORC = 'VALOR'
AND GO1_ITEM = 'VALOR'
AND GO1_ORIMMP = 'VALOR'
AND GO1_CODTES = 'VALOR'
AND GO1_CODMMP = 'VALOR'
AND GO1_DESMMP = 'VALOR'
AND GO1_QTDCOM = 0
AND GO1_VALUNI = 0
AND GO1_VFILME = 0
AND GO1_VANEST = 0
AND GO1_VAUXIL = 0
AND GO1_VALTOT = 0
AND GO1_VALDES = 0
AND GO1_ORIGEM = 'VALOR'
AND GO1_OBSORC = 'VALOR'
AND GO1_OK = 'VALOR'
AND GO1_STATUS = 'VALOR'
AND GO1_SOLICI = 'VALOR'
AND GO1_NROREC = 'VALOR'
AND GO1_LOGARQ = 'VALOR'