Cotações de frete
A tabela GVQ faz parte do sistema ERP Protheus da TOTVS e é utilizada para cotações de frete.
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 GVQ 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 GVQ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | GVQ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | GVQ990 |
| X2_NOME | Cotações de frete |
| X2_NOMESPA | Cotizaciones de flete |
| X2_NOMEENG | Freight Quotes |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | GVQ_FILIAL+GVQ_TPCOT+GVQ_CODCOT+GVQ_SEQCOT |
| X2_PYME | N |
| X2_MODULO | 78 |
| 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_ | 5369 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GVQ | 01 | GVQ_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 85723 | 0 |
| GVQ | 02 | GVQ_TPCOT | C | 1 | 0 | Tp Cot Frete | Tp Cot Flete | Fre Quo Tp | Tipo da Cotação de Frete | Tipo de cotización flete | Freight Quotation Type | - | Pertence('1') | x x x x x x x x x x x x x x x x | '1' | - | 1 | x xxx | - | - | - | N | V | R | - | - | 1=Comparativo de Frete | 1=Comparativo de flete | 1=Freight Comparison | - | - | - | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 1 | - | - | - | 85724 | 0 |
| GVQ | 03 | GVQ_CODCOT | C | 10 | 0 | Cotação | Cotización | Quotation | Código da cotação | Código de la cotización | Quotation Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 001 | 1 | 1 | - | - | - | 85725 | 0 |
| GVQ | 04 | GVQ_SEQCOT | C | 6 | 0 | Seq. Cotação | Sec. Cotiz. | Quot Seq | Sequência da cotação | Secuencia de cotización | Quotation Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 001 | 1 | 1 | - | - | - | 85726 | 0 |
| GVQ | 05 | GVQ_DTIMPL | D | 8 | 0 | Data | Fecha | Date | Data Registro | Fecha registro | Record Date | - | - | x x x x x x x x x x x x x x x x | Date() | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 001 | 1 | 1 | - | - | - | 85727 | 0 |
| GVQ | 06 | GVQ_HRIMPL | C | 5 | 0 | Hora | Hora | Time | Hora do Registro | Hora de registro | Record Time | 99:99 | - | x x x x x x x x x x x x x x x x | StrTran(SubStr(Time(),1,5),':','') | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 001 | 1 | 1 | - | - | - | 85728 | 0 |
| GVQ | 07 | GVQ_ENVCOP | C | 1 | 0 | Cop. Enviado | Cop. Enviado | Comp Sent | Comparativo Enviado | Comparativo enviado | Comparative Sent | @! | Pertence('12') | x x x x x x x x x x x x x x x x | '2' | - | 1 | x xx | - | - | - | N | V | R | - | - | 1=Sim;2=Não | 1=Sí;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | S | - | N | - | - | 001 | 1 | 2 | - | - | - | 85729 | 0 |
| GVQ | 08 | GVQ_OBSCOT | M | 10 | 0 | Obs Cot Fret | Obs Cot Flet | Quo Fre Not | Observação Cotação | Observación cotización | Quotation Note | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 002 | 1 | 1 | - | - | - | 85730 | 0 |
| GVQ | 09 | GVQ_INFCMP | M | 10 | 0 | Inf Cot | Inf Cot | Quot Inf | Informação Cotação | Información cotización | Quotation Information | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 2 | - | - | - | 85731 | 0 |
| GVQ | 10 | GVQ_VALCOT | N | 12 | 2 | Vl Cot Frete | Val Cot Flet | Fre Quo Val | Valor Cotação | Valor cotización | Quotation Value | @E 999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | 0 | - | 1 | x x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | 002 | 1 | 2 | - | - | - | 85732 | 0 |
| GVQ | 11 | GVQ_CDEMIT | C | 14 | 0 | Trp Sel Doc | Trp Sel Doc | Car Sel Doc | Transportador Sel. Doc. | Transportador Sel. Doc. | Carrier Sel. Doc. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 052 | - | S | - | - | S | - | N | - | - | 002 | 1 | 2 | - | - | - | 85733 | 0 |
| GVQ | 12 | GVQ_NRTAB | C | 6 | 0 | Tab Sel Doc | Tab Sel Doc | Doc Sel Tab | Tabela Sel. Doc. | Tabla Sel. Doc. | Doc Sel Table | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 2 | - | - | - | 85734 | 0 |
| GVQ | 13 | GVQ_NRNEG | C | 6 | 0 | Nr Tab Sel | Nº Tab Sel | Sel Tab No | Nr Tab Sel. Doc. | Nº Tab Sel. Doc. | Doc Sel Tab No. | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | S | - | N | - | - | 002 | 1 | 2 | - | - | - | 85735 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GVQ | 1 | GVQ_FILIAL+GVQ_TPCOT+GVQ_CODCOT+GVQ_SEQCOT | Tp Cot Frete + Cotação + Seq. Cotação | Tp Cot Flete + Cotización + Sec. Cotiz. | Fre Quo Tp + Quotation + Quot Seq | S | - | - | S | 2 | 3 | - | 12655 | 0 |
| GVQ | 2 | GVQ_FILIAL+GVQ_TPCOT+GVQ_CODCOT+GVQ_ENVCOP | Tp Cot Frete + Cotação + Cop. Enviado | Tp Cot Flete + Cotización + Cop. Enviado | Fre Quo Tp + Quotation + Comp Sent | S | - | - | S | 2 | 3 | - | 12656 | 0 |
| GVQ | 3 | GVQ_FILIAL+DTOS(GVQ_DTIMPL)+GVQ_HRIMPL | Data + Hora | Fecha + Hora | Date + Time | S | - | - | S | 2 | 3 | - | 12657 | 0 |
Ela é utilizada para cotações de frete 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.