Composição de Frete
A tabela DT8 faz parte do sistema ERP Protheus da TOTVS e é utilizada para composição 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 DT8 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 DT8, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DT8 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DT8990 |
| X2_NOME | Composição de Frete |
| X2_NOMESPA | Composición de flete |
| X2_NOMEENG | Freight Composition |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DT8_FILIAL+DT8_CODPAS+DT8_FILDOC+DT8_DOC+DT8_SERIE+DT8_FILORI+DT8_NUMCOT+DT8_CODPRO+DT8_NUMAWB |
| X2_PYME | S |
| X2_MODULO | 43 |
| X2_DISPLAY | DT8_FILIAL+DT8_FILORI+DT8_NUMCOT+DT8_CODPRO+DT8_CODPAS |
| X2_SYSOBJ | TMSA250 |
| 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_ | 3487 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DT8 | 01 | DT8_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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53964 | 0 |
| DT8 | 02 | DT8_CODPAS | C | 2 | 0 | Componente | Componente | Component | Componente | Componente | Component | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53965 | 0 |
| DT8 | 03 | DT8_VALPAS | N | 14 | 2 | Vlr.Compone. | Val.Compone. | Compon. Vl | Valor Componente | Valor Componente | Component Value | @E 999,999,999.99 | - | x x x x x x xx x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 53966 | 0 |
| DT8 | 04 | DT8_VALIMP | N | 14 | 2 | Vlr.Impostos | Val.Impuest. | Tax Vl. | Valor Impostos | Valor Impuestos | Taxes Value | @E 999,999,999.99 | - | x x x x x x xx x x x x x x x x | - | - | 1 | x x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53967 | 0 |
| DT8 | 05 | DT8_VALTOT | N | 14 | 2 | Vlr.Total | Val.Total | Total Val. | Valor Total do Frete | Valor Total del Flete | Total Freight Value | @E 99,999,999,999.99 | Positivo() | x x x x x x xx x x x x x x x x | - | - | 1 | x xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53968 | 0 |
| DT8 | 06 | DT8_FILDOC | C | 2 | 0 | Fil.Docto. | Suc.Docto. | Doc Branch | Filial do Documento | Sucursal del Documento | Document Branch | - | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53969 | 0 |
| DT8 | 07 | DT8_DOC | C | 9 | 0 | No.Docto. | Nº Docto. | Doc. No. | Numero do Documento | Numero del Documento | Document Number | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53970 | 0 |
| DT8 | 08 | DT8_SERIE | C | 3 | 0 | Serie Docto. | Serie Docto. | Doc. Series | Serie do Documento | Serie del Documento | Document Series | !!! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 094 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53971 | 0 |
| DT8 | 09 | DT8_ITEMD2 | C | 2 | 0 | Item SD2 | Item SD2 | SD2 Item | Item SD2 | Item SD2 | SD2 Item | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53972 | 0 |
| DT8 | 10 | DT8_FILORI | C | 2 | 0 | Fil.Origem | Suc.Origen | Orig.Branch | Filial de Origem | Sucursal de Origen | Origin Branch | - | - | x x x x x x xx x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 53973 | 0 |
| DT8 | 11 | DT8_NUMCOT | C | 6 | 0 | No.Cotacao | Nº Cotiz. | Quot. No. | No.Cotacao de Frete | Nº Cotizacion de Flete | Freight Quotation No. | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53974 | 0 |
| DT8 | 12 | DT8_NUMAWB | C | 9 | 0 | No. AWB | No. AWB | AWB No. | Numero da AWB | Numero de la AWB | AWB Number | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53975 | 0 |
| DT8 | 13 | DT8_CDRORI | C | 6 | 0 | Cod.Reg.Orig | Cod.Reg.Orig | Orig.Reg.Cd. | Codigo Regiao de Origem | Codigo Region de Origen | Origin Region Code | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53976 | 0 |
| DT8 | 14 | DT8_CDRDES | C | 6 | 0 | Cod.Reg.Dest | Cod.Reg.Dest | Des.Reg.Code | Codigo Regiao Destino | Codigo Region Destino | Destin. Region Code | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53977 | 0 |
| DT8 | 15 | DT8_CODPRO | C | 15 | 0 | Produto | Producto | Product | Produto | Producto | Product | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53978 | 0 |
| DT8 | 16 | DT8_TABFRE | C | 4 | 0 | Tab.Frete | Tab.Flete | Freight Tb. | Tabela de Frete | Tabla de Flete | Freight Table | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 53979 | 0 |
| DT8 | 17 | DT8_TIPTAB | C | 2 | 0 | Tipo Tabela | Tipo Tabla | Tp Table | Tipo Tabela de Frete | Tipo Tabla de Flete | Freight Table Type | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | x xxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 53980 | 0 |
| DT8 | 18 | DT8_SEQTAB | C | 2 | 0 | Seq.Tab.Fre | Sec.Tab.Fle | Seq.FreightT | Sequencia Tab. Frete | Secuencia Tab. Flete | Sequence Freight Table | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53981 | 0 |
| DT8 | 19 | DT8_DESC | N | 10 | 5 | Desconto | Descuento | Discount | Desconto | Descuento | Discount | @E 9999.99999 | - | x x x x x x xx x x x x x x x x | - | - | 1 | xxxx | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53982 | 0 |
| DT8 | 20 | DT8_ACRESC | N | 10 | 5 | Acrescimo | Aumento | Increase | Acrescimo | Aumento | Increase | @E 9999.99999 | - | x x x x x x xx x x x x x x x x | - | - | 1 | xxxx | - | - | - | - | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53983 | 0 |
| DT8 | 21 | DT8_CALMIN | C | 1 | 0 | Calc.no Min. | Calc.en Min | Calc. Min | Comp. Calculado no mínimo | Comp. Calculado en minimo | Comp. Calculated in minim | @! | Pertence('12') | x x x x x x xx x x x x x x x x | '2' | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53984 | 0 |
| DT8 | 22 | DT8_CODCIA | C | 6 | 0 | Codigo | Codigo | Code | Codigo da Cia Aerea | Codigo de Cia Aerea | Airline Code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53985 | 0 |
| DT8 | 23 | DT8_LOJCIA | C | 2 | 0 | Loja | Tienda | Unit | Loja da Cia Aerea | Tienda Cia Aerea | Airline Unit | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53986 | 0 |
| DT8 | 24 | DT8_DIGAWB | C | 1 | 0 | Digito AWB | Digito AWB | AWB Digit | Digito do AWB | Digito del AWB | AWB Digit | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 53987 | 0 |
| DT8 | 25 | DT8_PERRAT | N | 6 | 2 | % Rateio | % Prorrateo | Apprtnm. % | % Rateio | % Prorrateo | Apportionment % | @E 999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 53988 | 0 |
| DT8 | 26 | DT8_SDOC | C | 3 | 0 | Série Doc. | Serie Doc. | Inv. Series | Série do Documento Fiscal | Serie de Documento Fiscal | Invoice Series | !!! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 095 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 53989 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DT8 | 1 | DT8_FILIAL+DT8_FILORI+DT8_NUMCOT+DT8_CODPRO+DT8_CODPAS | Fil.Origem + No.Cotacao + Produto + Componente | Suc.Origen + Nº Cotiz. + Producto + Componente | Orig.Branch + Quot. No. + Product + Component | S | - | - | S | 2 | 3 | - | 8260 | 0 |
| DT8 | 2 | DT8_FILIAL+DT8_FILDOC+DT8_DOC+DT8_SERIE+DT8_CODPRO+DT8_CODPAS | Fil.Docto. + No.Docto. + Serie Docto. + Produto + Componente | Suc.Docto. + Nº Docto. + Serie Docto. + Producto + Componente | Doc Branch + Doc. No. + Doc. Series + Product + Component | S | - | - | S | 2 | 3 | - | 8261 | 0 |
| DT8 | 3 | DT8_FILIAL+DT8_NUMAWB+DT8_DIGAWB+DT8_CODCIA+DT8_LOJCIA+DT8_CODPAS | No. AWB + Digito AWB + Codigo + Loja + Componente | No. AWB + Digito AWB + Codigo + Tienda + Componente | AWB No. + AWB Digit + Code + Unit + Component | S | - | - | S | 2 | 3 | - | 8262 | 0 |
| DT8 | 4 | DT8_FILIAL+DT8_TABFRE+DT8_TIPTAB+DT8_CDRORI+DT8_CDRDES+DT8_SEQTAB+DT8_FILDOC+DT8_DOC+DT8_SERIE | Tab.Frete + Tipo Tabela + Cod.Reg.Orig + Cod.Reg.Dest + Seq.Tab.Fre + | Tab.Flete + Tipo Tabla + Cod.Reg.Orig + Cod.Reg.Dest + Sec.Tab.Fle + S | Freight Tb. + Tp Table + Orig.Reg.Cd. + Des.Reg.Code + Seq.FreightT + | S | - | - | S | 2 | 3 | - | 8263 | 0 |
| DT8 | 5 | DT8_FILIAL+DT8_NUMAWB+DT8_DIGAWB+DT8_CODCIA+DT8_LOJCIA+DT8_CODPRO | No. AWB + Digito AWB + Codigo + Loja + Produto | No. AWB + Digito AWB + Codigo + Tienda + Producto | AWB No. + AWB Digit + Code + Unit + Product | S | - | - | S | 2 | 3 | - | 8264 | 0 |
| DT8 | 6 | DT8_FILIAL+DT8_FILDOC+DT8_DOC+DT8_SDOC+DT8_CODPRO+DT8_CODPAS | Fil.Docto. + No.Docto. + Série Doc. + Produto + Componente | Suc.Docto. + Nº Docto. + Serie Doc. + Producto + Componente | Doc Branch + Doc. No. + Inv. Series + Product + Component | S | - | - | N | 2 | 3 | - | 8265 | 0 |
| DT8 | 7 | DT8_FILIAL+DT8_TABFRE+DT8_TIPTAB+DT8_CDRORI+DT8_CDRDES+DT8_SEQTAB+DT8_FILDOC+DT8_DOC+DT8_SDOC | Tab.Frete + Tipo Tabela + Cod.Reg.Orig + Cod.Reg.Dest + Seq.Tab.Fre + | Tab.Flete + Tipo Tabla + Cod.Reg.Orig + Cod.Reg.Dest + Sec.Tab.Fle + S | Freight Tb. + Tp Table + Orig.Reg.Cd. + Des.Reg.Code + Seq.FreightT + | S | - | - | N | 2 | 3 | - | 8266 | 0 |
Ela é utilizada para composição 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.