Itens da Fatura de Turismo
A tabela G85 faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens da fatura de turismo.
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 G85 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 G85, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | G85 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | G85990 |
| X2_NOME | Itens da Fatura de Turismo |
| X2_NOMESPA | Ítems factura turismo |
| X2_NOMEENG | Tourism Invoice Items |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | G85_FILIAL+G85_PREFIX+G85_NUMFAT+G85_ITEM |
| X2_PYME | S |
| X2_MODULO | 89 |
| 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_ | 4735 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G85 | 01 | G85_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 | x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76468 | 0 |
| G85 | 02 | G85_PREFIX | C | 3 | 0 | Prefixo | Prefijo | Prefix | Prefixo da Fatura | Prefijo de la factura | Invoice Prefix | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76469 | 0 |
| G85 | 03 | G85_NUMFAT | C | 9 | 0 | Fatura | Factura | Invoice | Numero da Fatura | Número de la factura | Invoice Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76470 | 0 |
| G85 | 04 | G85_TIPO | C | 1 | 0 | Tipo | Tipo | Type | Tipo do Item da Fatura | Tipo ítem factura | Type of Invoice Item | - | Pertence(" 12345") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 1=Venda;2=Reembolso;3=Receita;4=Abat. Receita;5=Breakage | 1=Venta;2=Reembolso;3=Ingreso;4=Desc. Ingreso;5=Breakage | 1=Sale;2=Refund;3=Income;4=Income Deduc.;5=Breakage | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76471 | 0 |
| G85 | 05 | G85_ITEM | C | 4 | 0 | Item | Ítem | Item | Item da Fatura | Ítem de la factura | Invoice Item | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76472 | 0 |
| G85 | 06 | G85_SEGNEG | C | 1 | 0 | Seg. Negócio | Seg. Negocio | Bus Seg | Seguimento do Negócio | Seguimiento del negocio | Business Segment | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 1=Corporativo;2=Eventos;3=Lazer | 1=Corporativo;2=Eventos;3=Ocio | 1=Corporate;2=Events;3=Leisure | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76473 | 0 |
| G85 | 07 | G85_FILREF | C | 2 | 0 | Filial Ref. | Suc. Ref. | Ref Branch | Filial referencia do item | Suc. Referencia del ítem | Item Reference Branch | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76474 | 0 |
| G85 | 08 | G85_IDIF | C | 21 | 0 | ID Item Fin. | ID Ítem Fin. | Fin Item ID | ID do Item Financeiro | ID Ítem financiero | Financial Item ID | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76475 | 0 |
| G85 | 09 | G85_IDIFA | C | 21 | 0 | ID IF Apurac | ID IF Cálc. | Calc FI ID | ID do Item Fin. Apuração | ID ítem Fin. Cálculo | Calc.Fin. Item ID | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76476 | 0 |
| G85 | 10 | G85_REGVEN | C | 10 | 0 | Reg. Venda | Reg. Venta | Sale Record | Registro de Venda | Registro de venta | Sale Record | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76477 | 0 |
| G85 | 11 | G85_ITVEND | C | 4 | 0 | Item Venda | Ítem Vta | Sale Item | Item de Venda | Ítem de venta | Sale Item | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76478 | 0 |
| G85 | 12 | G85_SEQIV | C | 2 | 0 | Seq.It.Venda | Sec.It.Venta | Sale It Seq | Sequancia item Venda | Secuencia ítem venta | Sale Item Sequence | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76479 | 0 |
| G85 | 13 | G85_DOC | C | 25 | 0 | Doc Fornece | Doc Prov. | Supp Doc | Documento Fornecedor | Documento proveedor | Supplier Document | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76480 | 0 |
| G85 | 14 | G85_VALOR | N | 16 | 2 | Valor Item | Valor ítem | Item Value | Vlor do Item da Fatura | Valor ítem de factura | Value of Invoice Item | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76481 | 0 |
| G85 | 15 | G85_MOEDA | C | 2 | 0 | Moeda | Moneda | Currency | Moeda | Moneda | Currency | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76482 | 0 |
| G85 | 16 | G85_PAGREC | C | 1 | 0 | Pag./Rec. | Pag./Cobr | Pay/Rec | Pagar/Receber | Pagar/Cobrar | Payable/Receivable | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | 1=Pagar;2=Receber | 1=Pagar;2=Cobrar | 1=Payable;2=Receivable | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76483 | 0 |
| G85 | 17 | G85_EMISSA | D | 8 | 0 | Emissão | Emisión | Issue | Emissao da Fatura | Emisión de la factura | Invoice Issue | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76484 | 0 |
| G85 | 18 | G85_CODAPU | C | 21 | 0 | Cod.Apuração | Cód.Cálculo | Calc Code | Codigo da Apuração | Código del cálculo | Calculation Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76485 | 0 |
| G85 | 19 | G85_CODPRD | C | 15 | 0 | Produto | Producto | Product | Código do Produto | Código del producto | Product Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76486 | 0 |
| G85 | 20 | G85_PRDDES | C | 40 | 0 | Desc. Prod. | Desc. Prod. | Prod Desc | Descricao do Produto | Descripción del producto | Product Description | - | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("SB1",1,xFilial("SB1")+G85->G85_CODPRD,"B1_DESC"),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SB1",1,xFilial("SB1")+G85->G85_CODPRD,"B1_DESC") | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76487 | 0 |
| G85 | 21 | G85_GRPPRD | C | 4 | 0 | Grupo Prod. | Grupo Prod. | Prod Grp | Grupo de Produto | Grupo de producto | Product Group | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76488 | 0 |
| G85 | 22 | G85_GRPDES | C | 30 | 0 | Desc. Grupo | Desc. Grupo | Grp Desc | Descrição do Grupo | Descripción del grupo | Group Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("SBM",1,xFilial("SBM")+G85->G85_GRPPRD,"BM_DESC"),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione('SBM', 1, xFilial('SBM')+G85->G85_GRPPRD, 'BM_DESC') | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76489 | 0 |
| G85 | 23 | G85_CLASS | C | 3 | 0 | Class.It.Fin | Clas.It.Fin | Fin It Class | Classif. Item Financeiro | Clasif. Ítem financiero | FInancial Item Classif. | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76490 | 0 |
| G85 | 24 | G85_CLADES | C | 30 | 0 | Desc. Class. | Desc Clasif. | Class Desc | Descrição Classificação | Descripción clasificación | Classification Descript | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("G8B",1,xFilial("G8B")+G85->G85_CLASS,"G8B_DESCRI"),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("G8B",1,xFilial("G8B")+G85->G85_CLASS,"G8B_DESCRI") | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76491 | 0 |
| G85 | 25 | G85_SOLIC | C | 6 | 0 | Solicitante | Solicitante | Requestor | Código do Solicitante | Código del solicitante | Requestor Code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76492 | 0 |
| G85 | 26 | G85_NOMSOL | C | 40 | 0 | Nome Solicit | Nomb Solicit | Req Name | Nome do Solicitante | Nombre del solicitante | Requestor Name | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("SU5",1,xFilial("SU5")+G85->G85_SOLIC,"U5_CONTAT"),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SU5",1,xFilial("SU5")+G85->G85_SOLIC,"U5_CONTAT") | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76493 | 0 |
| G85 | 27 | G85_TPENT | C | 2 | 0 | Tp. Entidade | Tp. Ente | Entity Tp. | Tipo Entidade Adicional | Tipo ente adicional | Additional Entity Type | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76494 | 0 |
| G85 | 28 | G85_ENTDES | C | 50 | 0 | Entidade | Ente | Entity | Descrição da Entidade | Descripción del ente | Entity Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,Posicione("G3E", 1, xFilial("G3E")+G85->G85_TPENT, "G3E_DESCR"), "") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("G3E", 1, xFilial("G3E")+G85->G85_TPENT, "G3E_DESCR") | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76495 | 0 |
| G85 | 29 | G85_ITENT | C | 50 | 0 | It.Ent.Adic. | ìt.Ent.Adic. | Add Ent Item | Item Entidade Adicional | Ítem Ent. Adicional | Additional Entity Item | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76496 | 0 |
| G85 | 30 | G85_ITDESC | C | 40 | 0 | Desc. Item | Desc. Ítem | Item Desc | Descrição do Item | Descripción del ítem | Item Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TA45ITENT(),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | TA45ITENT() | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76497 | 0 |
| G85 | 31 | G85_ITPRIN | C | 4 | 0 | Item Princ. | Ítem Princ. | Main Item | Item Principal da Fatura | Ítem principal de factura | Invoice Main Item | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76498 | 0 |
| G85 | 32 | G85_FILATU | C | 2 | 0 | Fil Fat Atu | Suc Fact Act | Curr Inv Bra | Filial da fatura atual | Sucurs de Factura actual | Current Invoice Branch | - | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TA45FILFAT(),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | TA45FilFat() | 033 | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76499 | 0 |
| G85 | 33 | G85_PRFATU | C | 3 | 0 | Prf Fat Atu | Prf Fact Act | Curr Inv Pre | Prefixo da Fatura Atual | Prefijo de factura actual | Current Invoice Prefix | - | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TA45PRFATU(),"") | - | 1 | x x xx x | - | - | - | S | V | V | - | - | - | - | - | - | - | TA45PrfAtu() | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76500 | 0 |
| G85 | 34 | G85_FATATU | C | 9 | 0 | Fatura Atual | Fact Actual | Current Inv | Fatura Atual Item Financ. | Factura actual ítem Finan | Financ. Item Current Inv. | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TA45FATATU(),"") | - | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | TA45FatAtu() | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76501 | 0 |
| G85 | 35 | G85_STATUA | C | 1 | 0 | Status Atual | Est. Actual | Current Stat | Status Atual do Item Fin. | Estatus actual ítem Fin. | Fin. Item Current Status | - | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TA45STAATU(),"") | - | 1 | x | - | - | - | S | V | V | - | - | 1=Liberado;2=Faturado;3=Indisponivel | 1=Liberado;2=Facturado;3=Indisponible | 1=Released;2=Invoiced;3=Unavailable | - | - | TA45StaAtu() | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 76502 | 0 |
| G85 | 36 | G85_FECHA | C | 14 | 0 | Fechamento | Cierre | Closing | Fechamento | Cierre | Closing | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76503 | 0 |
| G85 | 37 | G85_ITEMFE | C | 4 | 0 | Item Fecham. | Ítem Cierre | Clos Item | Item do Fechamento | Ítem del cierre | Closing Item | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76504 | 0 |
| G85 | 38 | G85_LA | C | 1 | 0 | Ident.L.A. | Ident.R.A. | A.E. Ident. | Ident. Lanc. Automatico | Ident. Regist. Automático | Automatic Entry Ident. | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 76505 | 0 |
| G85 | 39 | G85_VLRAUX | N | 16 | 4 | Vlr.Auxiliar | Vlr.Auxiliar | Aux. Value | Valor Auxiliar | Valor Auxiliar | Auxiliary Value | @E 99,999,999,999.9999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxxx x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76506 | 0 |
| G85 | 40 | G85_NATURE | C | 10 | 0 | Natureza | Modalidad | Class | Natureza | Modalidad | Class | - | TurVldNat() | x x x x x x x x x x x x x x x x | - | SED | 1 | x x xx x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 76507 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| G85 | 1 | G85_FILIAL+G85_PREFIX+G85_NUMFAT+G85_ITEM | Prefixo + Fatura + Item | Prefijo + Factura + Ítem | Prefix + Invoice + Item | S | - | - | S | 2 | 3 | - | 11209 | 0 |
| G85 | 2 | G85_FILIAL+G85_PREFIX+G85_NUMFAT+G85_FILREF+G85_REGVEN+G85_ITVEND+G85_SEQIV | Prefixo + Fatura + Filial Ref. + Reg. Venda + Item Venda + Seq.It.Vend | Prefijo + Factura + Suc. Ref. + Reg. Venta + Ítem Vta + Sec.It.Venta | Prefix + Invoice + Ref Branch + Sale Record + Sale Item + Sale It Seq | S | - | - | S | 2 | 3 | - | 11210 | 0 |
| G85 | 3 | G85_FILIAL+G85_PREFIX+G85_NUMFAT+G85_FILREF+G85_CODAPU+G85_IDIFA | Prefixo + Fatura + Filial Ref. + Cod.Apuração + ID IF Apurac | Prefijo + Factura + Suc. Ref. + Cód.Cálculo + ID IF Cálc. | Prefix + Invoice + Ref Branch + Calc Code + Calc FI ID | S | - | - | S | 2 | 3 | - | 11211 | 0 |
Ela é utilizada para itens da fatura de turismo 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
G85_FILIAL,
G85_PREFIX,
G85_NUMFAT,
G85_TIPO,
G85_ITEM,
G85_SEGNEG,
G85_FILREF,
G85_IDIF,
G85_IDIFA,
G85_REGVEN,
G85_ITVEND,
G85_SEQIV,
G85_DOC,
G85_VALOR,
G85_MOEDA,
G85_PAGREC,
G85_EMISSA,
G85_CODAPU,
G85_CODPRD,
G85_PRDDES,
G85_GRPPRD,
G85_GRPDES,
G85_CLASS,
G85_CLADES,
G85_SOLIC,
G85_NOMSOL,
G85_TPENT,
G85_ENTDES,
G85_ITENT,
G85_ITDESC,
G85_ITPRIN,
G85_FILATU,
G85_PRFATU,
G85_FATATU,
G85_STATUA,
G85_FECHA,
G85_ITEMFE,
G85_LA,
G85_VLRAUX,
G85_NATURE
FROM G85
WHERE
D_E_L_E_T_ = ' '
AND G85_FILIAL = 'VALOR'
AND G85_PREFIX = 'VALOR'
AND G85_NUMFAT = 'VALOR'
AND G85_TIPO = 'VALOR'
AND G85_ITEM = 'VALOR'
AND G85_SEGNEG = 'VALOR'
AND G85_FILREF = 'VALOR'
AND G85_IDIF = 'VALOR'
AND G85_IDIFA = 'VALOR'
AND G85_REGVEN = 'VALOR'
AND G85_ITVEND = 'VALOR'
AND G85_SEQIV = 'VALOR'
AND G85_DOC = 'VALOR'
AND G85_VALOR = 0
AND G85_MOEDA = 'VALOR'
AND G85_PAGREC = 'VALOR'
AND G85_EMISSA BETWEEN '20260501' AND '20260531'
AND G85_CODAPU = 'VALOR'
AND G85_CODPRD = 'VALOR'
AND G85_PRDDES = 'VALOR'
AND G85_GRPPRD = 'VALOR'
AND G85_GRPDES = 'VALOR'
AND G85_CLASS = 'VALOR'
AND G85_CLADES = 'VALOR'
AND G85_SOLIC = 'VALOR'
AND G85_NOMSOL = 'VALOR'
AND G85_TPENT = 'VALOR'
AND G85_ENTDES = 'VALOR'
AND G85_ITENT = 'VALOR'
AND G85_ITDESC = 'VALOR'
AND G85_ITPRIN = 'VALOR'
AND G85_FILATU = 'VALOR'
AND G85_PRFATU = 'VALOR'
AND G85_FATATU = 'VALOR'
AND G85_STATUA = 'VALOR'
AND G85_FECHA = 'VALOR'
AND G85_ITEMFE = 'VALOR'
AND G85_LA = 'VALOR'
AND G85_VLRAUX = 0
AND G85_NATURE = 'VALOR'