Dicionário Protheus
Início
O Poder da Hiperautomação

Tabela DTC no Protheus

Doc Cliente para Transporte

O que é a tabela DTC no Protheus?

A tabela DTC faz parte do sistema ERP Protheus da TOTVS e é utilizada para doc cliente para transporte.

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 DTC 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 DTC, incluindo todos os campos e índices relacionados.

Propriedades da Tabela

Propriedade Valor
X2_CHAVE DTC
X2_PATH \DATA\
X2_ARQUIVO DTC990
X2_NOME Doc Cliente para Transporte
X2_NOMESPA Doc Cliente para transporte
X2_NOMEENG Cust Docum for Transportation
X2_ROTINA -
X2_MODO C
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO -
X2_PYME S
X2_MODULO 43
X2_DISPLAY DTC_FILIAL+DTC_FILORI+DTC_LOTNFC+DTC_CLIREM+DTC_CLIDES+DTC_LOJDES+DTC_SERVIC+ DTC_CODPRO+DTC_NUMNFC+DTC_SERNFC+DTC_NUMSOL
X2_SYSOBJ TMSA050
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_ 3491
R_E_C_D_E_L_ 0

Campos da Tabela DTC (162 campos)

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_
DTC 01 DTC_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 - - - 54051 0
DTC 02 DTC_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 cFilAnt - 1 xx - - - S V - - - - - - - - - 033 1 S - - N N N - - - 1 1 - - - 54052 0
DTC 03 DTC_LOTNFC C 6 0 No.Lote Nº Lote Lot No. No.Lote Nº Lote Lot No. @! TMSA050Lote() x x x x x x xx x x x x x x x x x TMA050INI("DTC_LOTNFC") DTP 1 xx - S - S - - - - - - - - tmsa050whe() - - 1 S - - N N N - - - 1 1 - - - 54053 0
DTC 04 DTC_FILCFS C 2 0 Fil. Sol/Cot Suc. Sol/Cot Req/Quo Bran Fil.Orig. Coleta/Cotacao Suc.Orig. Colecta/Cotizac Pickup/Quot.Orig. Branch - TMSA050Vld() x x x x x x x x x x x x x x x x cFilAnt SM0 1 xx - - - - - - - - - - - - TMSA050Whe() - 033 1 S - - N N N - - - 1 2 - - - 54054 0
DTC 05 DTC_NUMSOL C 9 0 No.Sl.Coleta No.Sl.Colect CollecReqNo No.Sol.Coleta No.Sol.Colecta Collec.Req.No. @! TMSA050Vld() x x x x x x xx x x x x x x x x - DLX 1 x - - - - - - - - - - - - TMSA050Whe() - 018 1 S - - N N N - - - 1 2 - - - 54055 0
DTC 06 DTC_DATENT D 8 0 DT Entrada Fch. Entrada Inflow Dt Data da Entrada Fecha de la Entrada Inflow Dt - TMSA050Vld() x x x x x x xx x x x x x x x x dDataBase - 1 xx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 54056 0
DTC 07 DTC_ESTORN C 1 0 Estorna Revierte Reverse Estorna Nota Revierte Nota Reverse Invoice @! Pertence("12") .And. TMSA050Est() x x x x x x xx x x x x x x x x "1" - 1 x - - - - - - - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 1 S - - N N N - - - 1 2 - - - 54057 0
DTC 08 DTC_NUMNFC C 9 0 Doc.Cliente Doc.Cliente Doc.Customer Doc.Cliente Doc.Cliente Doc.Customer @! TMSA050NF() x x x x x x xx x x x x x x x x - - 1 x xx - - - S - - - - - - - - - - 019 1 S - - N N N - - - 1 1 - - - 54058 0
DTC 09 DTC_MOENFC N 1 0 Moeda Doc. Moneda Doc. Doc. Cur. Moeda Doc. Transporte Moneda Doc. Transporte Transp. Doc. Currency @E 9 M->DTC_MOENFC > 0 .And. M->DTC_MOENFC <= MoedFin() x x x x x x xx x x x x x x x x 1 - 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_MOENFC') - - - S - - N N N - - - 1 2 - - - 54059 0
DTC 10 DTC_SERNFC C 3 0 Serie Dc.Cli Serie Dc.Cli Cust.Ser.Doc Serie Docto. Cliente Serie Docto. Cliente Series Customer Doc. !!! TMSA050NF() x x x x x x xx x x x x x x x x - - 1 x xx - - - S - - - - - - - - - - 094 1 S - - N N N - - - 1 2 - - - 54060 0
DTC 11 DTC_CODPRO C 15 0 Cod. Produto Cod. Product Product Code Codigo do Produto Cod. del Producto Product Code @! ExistCpo("SB1",M->DTC_CODPRO) .And. TMSA050NF() .And. TMSA050Vld() x x x x x x xx x x x x x x x x x - DVJ 1 xx - S - - - - - - - - - - TMSA050Whe() - 030 1 S - - N N N - - - 1 1 - - - 54061 0
DTC 12 DTC_DESPRO C 50 0 Desc.Produto Desc.Prod. Product Desc Descricao do Produto Descripcion del Producto Product Desc. @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SB1",1,xFilial("SB1")+DTC->DTC_CODPRO,"B1_DESC")) - 1 x x - - - - V V - - - - - - - - 171 1 S - - N N N - - - 1 2 - - - 54062 0
DTC 13 DTC_CODEMB C 3 0 Embalagem Embalaje Package Embalagem Embalaje Package @! ExistCpo("SX5","MG"+M->DTC_CODEMB) x x x x x x xx x x x x x x x x - MG 1 x xxx - S - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54063 0
DTC 14 DTC_DESEMB C 30 0 Desc.Embalag Desc.Embalaj Pack.Desc. Descricao da Embalagem Descripcion del Embalaje Package Description @! - x x x x x x xx x x x x x x x x IIf(Inclui,"",Tabela("MG",DTC->DTC_CODEMB,.F.)) - 1 x xx - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54064 0
DTC 15 DTC_EMINFC D 8 0 DT Emissao Fch. Emis. Issue DT Dt.Emissao Nf Cliente Fch.Emis.Fact.Cliente Dt.Emissao Nf Customer - TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x xx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 54065 0
DTC 16 DTC_QTDVOL N 5 0 Qtd.Volumes Cant.Volum. Vol. Amt. Qtd.Volumes Cant.Volumenes Amt.Volume 99999 Positivo() .And. TMSA050Vld() x x x x x x x x x x x x x x x x - - 1 xxxx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 54066 0
DTC 17 DTC_PESO N 11 4 Peso Peso Weight Peso Peso Weight @E 999,999.9999 Positivo() .And. TMSA050Vld() x x x x x x x x x x x x x x x x - - 1 xxxx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 1 - - - 54067 0
DTC 18 DTC_PESOM3 N 11 4 Peso Cubado Peso Cubic. Cubic Weight Peso Cubado Peso Cubicado Cubic Weight @E 999,999.9999 Positivo() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx x - - - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54068 0
DTC 19 DTC_VALOR N 14 2 Valor Valor Value Valor Valor Value @E 99,999,999,999.99 Positivo() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xxxx - - - S - - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54069 0
DTC 20 DTC_METRO3 N 11 4 M3 M3 M3 M3 M3 M3 @E 999,999.9999 Positivo() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx x - - - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54070 0
DTC 21 DTC_BASSEG N 14 2 Base RR Base RTT RR Base Base Risco Rodoviario Base Riesgo Trans. Terres Road Risk Base @E 99,999,999,999.99 Positivo() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx x - - - - - - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54071 0
DTC 22 DTC_QTDUNI N 5 0 Qtde Unitiz. Ctd Unitiz. Unit.Qty. Quantidade Unitizador Cantidad Unitizador Unitizer Amount 99999 - x x x x x x xx x x x x x x x x - - 1 x xx - - - - - - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54072 0
DTC 23 DTC_ENDTMS C 13 0 Endereco(s) Direccion(s) Address(es) Enderecamento Direccionamiento Addressing - - x x x x x x xx x x x x x x x x "<< Enter >>" - 1 x x - - - - - V - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54073 0
DTC 24 DTC_CLIREM C 6 0 Remetente Remitente Sender Remetente Remitente Sender @! TMSA050Vld() .And. TMSA050NF() .And. TMSA050EDI() x x x x x x xx x x x x x x x x x - SA1 1 x xx - S - S - - - - - - - - TMSA050Whe() - 001 1 S - - N N N - - - 1 1 - - - 54074 0
DTC 25 DTC_LOJREM C 2 0 Loja Remet. Tda Remit. Send.Unit Loja Remetente Tienda Remitente Sender Unit @! TMSA050Vld() .And. TMSA050NF() .And. TMSA050EDI() x x x x x x xx x x x x x x x x x - - 1 x xx - - - S - - - - - - - - TMSA050Whe() - 002 1 S - - N N N - - - 1 1 - - - 54075 0
DTC 26 DTC_NOMREM C 50 0 Nome Remet. Nomb Remit. Send.Name Nome Remetente Nombre Remitente Sender Name @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIREM+DTC->DTC_LOJREM,"A1_NOME")) - 1 x x - - - S V V - - - - - - - TMSA510Cli(DTC->DTC_CLIREM,DTC->DTC_LOJREM,"A1_NOME") 175 1 S - - N N N - - - 1 2 - - - 54076 0
DTC 27 DTC_INSREM C 15 0 Insc.Remet. Insc.Remit. Sender Reg. Insc.Remetente Insc.Remitente Sender Reg. @! - x x x x x x xx x x x x x x x x TMA050INI("DTC_INSREM") - 1 x - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54077 0
DTC 28 DTC_SQIREM C 2 0 Seq.Ins.Rem. Sec.Ins.Rem. Sen.Reg.Seq. Seq.Insc.Remetente Sec.Insc.Remitente Sender Reg. Seq. @! TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x - - - - V - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54078 0
DTC 29 DTC_CLIDES C 6 0 Destinatario Destinatario Recipient Destinatario Destinatario Recipient @! TMSA050Vld() x x x x x x xx x x x x x x x x x - SA1 1 x xx - S - S - - - - - - - - TMSA050Whe() - 001 1 S - - N N N - - - 1 1 - - - 54079 0
DTC 30 DTC_LOJDES C 2 0 Loja Dest. Tienda Dest. Unit Dest. Loja Destinatario Tienda Destinatario Recipient Unit @! TMSA050Vld() x x x x x x xx x x x x x x x x x - - 1 x xx - S - S - - - - - - - - TMSA050Whe() - 002 1 S - - N N N - - - 1 1 - - - 54080 0
DTC 31 DTC_NOMDES C 50 0 Nome Dest. Nomb Dest. Recip.Name Nome Destinatario Nombre Destinatario Recipient Name @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIDES+DTC->DTC_LOJDES,"A1_NOME")) - 1 x x - - - S V V - - - - - - - TMSA510Cli(DTC->DTC_CLIDES,DTC->DTC_LOJDES,"A1_NOME") 175 1 S - - N N N - - - 1 2 - - - 54081 0
DTC 32 DTC_SQEDES C 9 0 Seq.End.Dest Sec.Dir.Dest Reci.Add.Seq Seq.Endereco Destinatario Sec.Direccion Destinat. Recipient Address Seq. @! TMSA050Vld() x x x x x x xx x x x x x x x x - DLT1 1 xx - - - - - - - - - - - - - - 077 1 S - - N N N - - - 1 2 - - - 54082 0
DTC 33 DTC_INSDES C 15 0 Insc.Dest Insc.Dest Reci. Reg. Insc.Destinatario Insc.Destinatario Recipient Reg. @! - x x x x x x xx x x x x x x x x TMA050INI("DTC_INSDES") - 1 x - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54083 0
DTC 34 DTC_SQIDES C 2 0 Seq.Ins.Dest Sec.Ins.Dest Reci.Reg.Seq Seq.Insc.Destinatario Sec.Insc.Destinatario Recipient Reg. Seq. @! TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x - - - - V - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54084 0
DTC 35 DTC_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 x - - - - V - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54085 0
DTC 36 DTC_CLICON C 6 0 Consignatar. Consignatar. Consignee Consignatario Consignatario Consignee @! TMSA050Vld() x x x x x x xx x x x x x x x x x - SA1 1 x xx - S - - - - - - - - - - TMSA050Whe() - 001 1 S - - N N N - - - 1 2 - - - 54086 0
DTC 37 DTC_LOJCON C 2 0 Loja Consig. Tda Consig. Unit Consig. Loja Consignatario Tienda Consignatario Consignee Unit @! TMSA050Vld() x x x x x x xx x x x x x x x x x - - 1 x xx - - - - - - - - - - - - TMSA050Whe() - 002 1 S - - N N N - - - 1 2 - - - 54087 0
DTC 38 DTC_INSCON C 15 0 Insc.Consig. Insc.Consig. Cons.Regist. Insc.Consignatario Insc.Consignatario Consignee Registr. @! - x x x x x x xx x x x x x x x x TMA050INI("DTC_INSCON") - 1 x xx - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54088 0
DTC 39 DTC_SQICON C 2 0 Seq.Ins.Cons Sec.Ins.Cons Cons.Reg.Sq. Seq.Insc.Consignatario Sec.Insc.Consignatario Consignee Reg. Seq. @! TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x xx - - - - V R - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54089 0
DTC 40 DTC_NOMCON C 50 0 Nome Consig. Nomb Consig. Consig. Name Nome Consignatario Nombre Consignatario Consignee Name @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLICON+DTC->DTC_LOJCON,"A1_NOME")) - 1 x x - - - - V V - - - - - - - TMSA510Cli(DTC->DTC_CLICON,DTC->DTC_LOJCON,"A1_NOME") 175 1 S - - N N N - - - 1 2 - - - 54090 0
DTC 41 DTC_CLIDPC C 6 0 Despachante Tramitador Expediter Despachante Tramitador Expediter @! TMSA050Vld() x x x x x x xx x x x x x x x x x - SA1 1 x xx - S - - - - - - - - - - TMSA050Whe() - 001 1 S - - N N N - - - 1 2 - - - 54091 0
DTC 42 DTC_LOJDPC C 2 0 Loja Despach Tda Tramitad Exp. Unit Loja Despachante Tienda Tramitador Broker Store @! TMSA050Vld() x x x x x x xx x x x x x x x x x - - 1 x xx - - - - - - - - - - - - TMSA050Whe() - 002 1 S - - N N N - - - 1 2 - - - 54092 0
DTC 43 DTC_NOMDPC C 50 0 Nome Desp. Nombre Tram. Exp. Name Nome Despachante Nombre Tramitador Expediter Name @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIDPC+DTC->DTC_LOJDPC,"A1_NOME")) - 1 x x - - - - V V - - - - - - - - 175 1 S - - N N N - - - 1 2 - - - 54093 0
DTC 44 DTC_INSDPC C 15 0 Insc.Desp. Insc.Tram. Exp.Regist. Insc.Despachante Insc.Tramitador Expediter Registration @! - x x x x x x xx x x x x x x x x TMA050INI("DTC_INSDPC") - 1 x xx - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54094 0
DTC 45 DTC_SQIDPC C 2 0 Seq.Ins.Desp Sec.Ins.Tram Exp Reg Seq Seq.Insc.Despachante Sec.Insc.Tramitador Expediter Registr. Seq. @! TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x xx - - - - V R - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54095 0
DTC 46 DTC_ALIANC C 2 0 Alianca Alianza Alliance Alianca Alianza Alliance @! TMSA050Vld() .And. (Vazio() .Or. ExistCpo("SX5","MI"+M->DTC_ALIANC)) x x x x x x xx x x x x x x x x - MI 1 xx - S - N - - - - - - - - TMSA050WHE() - - 1 S - - N N N - - - 1 2 - - - 54096 0
DTC 47 DTC_DESALI C 20 0 Desc Alianca Desc Alianza AllianceDesc Descricao Alianca Descripcion Alianza Alliance Description @! - x x x x x x xx x x x x x x x x If(!Inclui,Tabela("MI",DTC->DTC_ALIANC,.F.),"") - 1 x xx x - - - N V V - - - - - - - Posicione("SX5",1,xFilial("SX5")+"MI"+DTC->DTC_ALIANC,"X5_DESCRI") - 1 S - - N N N - - - 1 2 - - - 54097 0
DTC 48 DTC_DPCLOC C 1 0 Red.Ali.Loc. Red.Con.Loc. BS Loc.Alli. Redespacho Alianca Local Redespacho Convenio Local Bridge Ship. Local Allia. @! Pertence("12") x x x x x x xx x x x x x x x x "2" - 1 xx - - - N - - - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54098 0
DTC 49 DTC_DEVFRE C 1 0 Dev. Frete Deu. Flete Freight Debt Devedor do Frete Deudor del flete Freight Debtor @! Vazio() .Or. (Pertence("1234567") .And. TMSA050Fre()) x x x x x x xx x x x x x x x x - - 1 x xx - - - - - - - - 1=Remetente;2=Destinatario;3=Consignatario;4=Despachante;6=Expedidor;7=Recebedor 1=Remitente;2=Destinatario;3=Consignatario;4=Despachante;6=Expedidor;7=Receptor 1=Sender;2=Addressee;3=Consignee;4=Forwarder;6=Shipper;7=Recipient - A050WheDev() .And. TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54099 0
DTC 50 DTC_CLIDEV C 6 0 Devedor Deudor Debtor Devedor Deudor Debtor @! - x x x x x x xx x x x x x x x x - SA1 1 x xx - - - - V - - - - - - - - - 001 1 S - - N N N - - - 1 1 - - - 54100 0
DTC 51 DTC_LOJDEV C 2 0 Loja Devedor Tda Deudor Unit Devedor Loja Devedor Cliente Deudor Debtor Unit @! - x x x x x x xx x x x x x x x x - - 1 x xx - - - - V - - - - - - - - - 002 1 S - - N N N - - - 1 1 - - - 54101 0
DTC 52 DTC_NOMDEV C 50 0 Nome Devedor Nomb Deudor Debtor Name Nome Devedor Nombre Deudor Debtor Name @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIDEV+DTC->DTC_LOJDEV,"A1_NOME")) - 1 x x - - - - V V - - - - - - - - 175 1 S - - N N N - - - 1 2 - - - 54102 0
DTC 53 DTC_CLICAL C 6 0 Cli. Calculo Cli. Calculo Cust.Calc. Cliente para calculo Cliente para calculo Customer for calculation @! - x x x x x x xx x x x x x x x x - SA1 1 x xx - - - - V - - - - - - - - - 001 1 S - - N N N - - - 1 1 - - - 54103 0
DTC 54 DTC_LOJCAL C 2 0 Loja Calculo Tda Calculo Unit Calculo Loja do cliente p/calculo Tienda cliente p/calc. Loja do Customer p/calcul @! - x x x x x x xx x x x x x x x x - - 1 x xx - - - - V - - - - - - - - - 002 1 S - - N N N - - - 1 1 - - - 54104 0
DTC 55 DTC_NOMCAL C 50 0 Nome Calculo Nomb Calculo Calc. Name Nome do cliente p/calculo Nombre cliente p/calculo Nome do Customer p/calcul @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLICAL+DTC->DTC_LOJCAL,"A1_NOME")) - 1 x x - - - - V V - - - - - - - - 175 1 S - - N N N - - - 1 2 - - - 54105 0
DTC 56 DTC_TIPFRE C 1 0 Tipo Frete Tipo Flete Freight Type Tipo do Frete Tipo de Flete Freight Type @! Pertence("12") x x x x x x xx x x x x x x x x - - 1 xx - - - - V - - - 1=CIF;2=FOB 1=CIF;2=FOB 1=CIF;2=FOB - - - - 1 S - - N N N - - - 1 1 - - - 54106 0
DTC 57 DTC_SERTMS C 1 0 Serv.Transp. Serv.Transp. Transp.Serv. Servico de Transporte Servicio de Transporte Transport Service @! TMSValField("M->DTC_SERTMS",.T.,"DC5_DESSVT") .And. TMSA050Vld() x x x x x x xx x x x x x x x x Iif(TmscFec(),"","2") DLC 1 xxx - S - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54107 0
DTC 58 DTC_DESSVT C 30 0 Desc.Sv.Tran Desc.Sv.Tran TranSv.Desc Desc.Servico Transporte Desc.Servicio Transporte Transport Service Desc. @! - x x x x x x xx x x x x x x x x TMSValField("M->DTC_SERTMS",.F.,"DC5_DESSVT") - 1 x x - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54108 0
DTC 59 DTC_TIPTRA C 1 0 Tipo Transp. Tipo Transp. Transp. Type Tipo Transporte Tipo Transporte Transport Type @! TMSValField("M->DTC_TIPTRA",.T.,"DTC_DESTPT") .And. TMSA050Vld() x x x x x x xx x x x x x x x x - DLC 1 xxx - - - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54109 0
DTC 60 DTC_SERVIC C 3 0 Servico Servicio Service Servico Servicio Service @! TMSA050Ser() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - DLR 1 x xx - S - - - - - - - - - - TMSA050Whe() - 012 1 S - - N N N - - - 1 2 - - - 54110 0
DTC 61 DTC_DESTPT C 30 0 Desc.Tp.Tran Desc.Tp.Tran TranTp.Desc Desc.Tipo Transporte Desc.Tipo Transporte Transport Type Desc. @! - x x x x x x xx x x x x x x x x If(!Inclui,TMSValField("DTC->DTC_TIPTRA",.F.,"DC5_DESTPT"),"") - 1 x x - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54111 0
DTC 62 DTC_TIPNFC C 1 0 Tipo Nf Cli. Tipo Fac Cli Type CustInv Tipo Nfc Normal/Devol/Sub Tipo Fac Normal/Devol/Sub Invoice Tp. Normal/Ret./H @! Pertence("0123456789A") .And. TMSA050Vld() x x x x x x x x x x x x x x x x "0" DLC 1 xx - S - N A R - - - - - - A050WhTpNf() .And. TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54112 0
DTC 63 DTC_DESSER C 30 0 Desc.Servico Desc.Serv. Service Desc Descricao do Servico Descrip. del Servicio Service Description @! - x x x x x x xx x x x x x x x x If(!Inclui,Tabela("L4",DTC->DTC_SERVIC,.F.),"") - 1 x x - - - - V V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54113 0
DTC 64 DTC_DESTIP C 60 0 Desc.Tipo NF Desc.Tip Fac NF Type Desc Descr. Tipo NF Cliente Descr. Tipo Fact Cliente Customer NF Type Descr @! - x x x x x x x x x x x x x x x Iif(!Inclui, TmsValField("M->DTC_TIPNFC",.F.,"DTC_DESTIP"),"") - 1 - - - - N V V - - - - - - - - - - S - - N - N - - - 1 2 - - - 54114 0
DTC 65 DTC_CDRORI C 6 0 Cod.Reg.Ori. Cod.Reg.Ori. Ori.Reg.Cd. Cod.Regiao Origem Cod.Region Origen Origin Region Code @! ExistCpo("DUY",,1) x x x x x x xx x x x x x x x x x IIF(INCLUI,GETMV('MV_CDRORI'),DTC->DTC_CDRORI) - 1 xx - - - - V - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54115 0
DTC 66 DTC_REGORI C 30 0 Reg.Origem Reg.Origen Origin Reg. Reg.Origem Reg.Origen Origin Rec. @! - x x x x x x xx x x x x x x x x Posicione("DUY",1,xFilial("DUY")+M->DTC_CDRORI,"DUY_DESCRI") - 1 x x - - - - V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CDRORI,"DUY_DESCRI") - 1 S - - N N N - - - 1 2 - - - 54116 0
DTC 67 DTC_CDRDES C 6 0 Cod.Reg.Des. Cod.Reg.Des. Des.Reg.Code Cod.Regiao Destino Cod.Region Destino Destination Region Cd. @! ExistCpo("DUY",,1) .And. M->DTC_CDRDES <> M->DTC_CDRPER .And. TMSA050Vld() x x x x x x xx x x x x x x x x x - DUY 1 xx - S - - V - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54117 0
DTC 68 DTC_REGDES C 30 0 Reg.Destino Reg.Destino Dest. Region Reg.Destino Reg.Destino Destination Reg. @! - x x x x x x xx x x x x x x x x IIF(INCLUI,"",POSICIONE("DUY",1,XFILIAL("DUY")+M->DTC_CDRDES,"DUY_DESCRI")) - 1 x x - - - - V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CDRDES,"DUY_DESCRI") - 1 S - - N N N - - - 1 2 - - - 54118 0
DTC 69 DTC_CDRCAL C 6 0 Cod.Reg.Cal. Cod.Reg.Cal. Calc.Reg.Cd. Cod.Regiao Calculo Cod.Region Calculo Calc Area Code @! ExistCpo("DUY",,1) .And. TMSA050Ali() .And. TMSA050Vld() x x x x x x xx x x x x x x x x - DUY 1 x xx - S - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54119 0
DTC 70 DTC_REGCAL C 30 0 Reg.Calculo Reg.Calculo Calc. Region Reg.Calculo Reg.Calculo Calc Reg @! TmsPesqRegiao("DTC_CDRCAL","DTC_REGCAL") x x x x x x xx x x x x x x x x IIF(INCLUI,"",POSICIONE("DUY",1,XFILIAL("DUY")+M->DTC_CDRCAL,"DUY_DESCRI")) - 1 x x - - - - V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CDRCAL,"DUY_DESCRI") - 1 S - - N N N - - - 1 2 - - - 54120 0
DTC 71 DTC_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 1 S - - N N N - - - 1 2 - - - 54121 0
DTC 72 DTC_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 1 S - - N N N - - - 1 2 - - - 54122 0
DTC 73 DTC_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 1 S - - N N N - - - 1 2 - - - 54123 0
DTC 74 DTC_CDRPER C 6 0 Cod.1o.Perc. Cod.1º Tray. Cd.1stCour Cod.Regiao 1o.Percurso Cod.Region 1º Trayecto Region Cd. 1st Course @! ExistCpo("DUY",,1) .And. M->DTC_CDRPER <> M->DTC_CDRORI .And. M->DTC_CDRPER<>M->DTC_CDRDES .And. TMSA050Vld() x x x x x x xx x x x x x x x x - DUY 1 x - S - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54124 0
DTC 75 DTC_DOCPER C 9 0 Doc.1o.Perc. Doc.1º Tray. Doc.1stCour Doc.1o.Percurso Doc.1º Trayecto Doc. 1st Course @! - x x x x x x xx x x x x x x x x - - 1 x - - - S V - - - - - - - - - 018 1 S - - N N N - - - 1 2 - - - 54125 0
DTC 76 DTC_REGPER C 30 0 Reg.1o.Perc. Reg.1º Tray. Reg.1stCour Reg.1o.Percurso Reg.1º Trayecto Reg. 1st Course @! - x x x x x x xx x x x x x x x x Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CDRPER,"DUY_DESCRI")) - 1 x x - - - - V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CDRPER,"DUY_DESCRI") - 1 S - - N N N - - - 1 2 - - - 54126 0
DTC 77 DTC_VLRINF N 14 2 Fr.Informado Fl. Inform. Infor.Freigh Frete Informado Flete Informado Freight Informed @E 99,999,999,999.99 Positivo() .And. A050VlrInf() x x x x x x xx x x x x x x x x - - 1 xxxx - - - - - - - - - - - - TMSA050Whe() - - 1 S - - N N N - - - 1 2 - - - 54127 0
DTC 78 DTC_CODOBS C 6 0 Codigo Obs. Codigo Obs. Obs. Code Codigo da Observacao Cod. de la Observacion Note Code 999999 - x x x x x x x x x x x x x x x - - 1 x - - - - V - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54128 0
DTC 79 DTC_EDI C 1 0 Nf.EDI Fact.EDI EDI NF Nota Fiscal do EDI Factura del EDI EDI Invoice @! Pertence("12") x x x x x x xx x x x x x x x x "2" - 1 xx - - - N V R - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 1 S - - N N N - - - 1 2 - - - 54129 0
DTC 80 DTC_OBS M 80 0 Observacao Observacion Note Observacao Observacion Note - - x x x x x x xx x x x x x x x x Iif(Inclui,"",E_MSMM(DTC->DTC_CODOBS,80)) - 1 x x - - - - - V - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54130 0
DTC 81 DTC_DATCOL D 8 0 Data Coleta Fecha Recol. Collec. Date Data da Coleta Fch. de la Recolecc. Collection Date - M->DTC_DATCOL <= dDataBase .And. TmsA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N - - - - - - - - TMSA050Whe() - - 2 S - - N N N - - - 1 2 - - - 54131 0
DTC 82 DTC_HORCOL C 4 0 Hora Coleta Hora Recolec Collec. Time Hora da Coleta Hora de la Recolecc. Collection Time @R 99:99 Vazio() .Or. TmsA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N - - - - - - - - TMSA050Whe() - - 2 S - - N N N - - - 1 2 - - - 54132 0
DTC 83 DTC_DTENTR D 8 0 Data Entrega Fch Entrega Delivery Dt Data da Entrega Fecha de la Entrega Delivery Date - M->DTC_DTENTR <= dDataBase .And. TmsA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N - - - - - - - - TMSA050Whe() - - 2 S - - N N N - - - 1 2 - - - 54133 0
DTC 84 DTC_HORENT C 4 0 Hora Entrega Hora Entrega Deliv. Time Hora da Entrega Hora de la Entrega Delivery Time @R 99:99 Vazio() .Or. TmsA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N - - - - - - - - TMSA050Whe() - - 2 S - - N N N - - - 1 2 - - - 54134 0
DTC 85 DTC_RECEBE C 30 0 Recebido Por Recibido Por Received By Recebido Por Recibido Por Received By @! - x x x x x x xx x x x x x x x x - - 1 xx - - - N - - - - - - - - - - - 2 S - - N N N - - - 1 2 - - - 54135 0
DTC 86 DTC_KM N 7 1 Km Km Km Km Km Km @E 99,999.9 Positivo() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - - - - - Empty(M->DTC_NUMCOT) - - 1 S - - N N N - - - 1 2 - - - 54136 0
DTC 87 DTC_DISTIV C 1 0 Dis.Ida/Volt Dis.Ida/Vuel Dist.Ro.Trp Distância Ida/Volta? ¿Distancia Ida/Vuelta? Distance Round Trip - Pertence('12') .And. TMSA050VLD() x x x x x x xx x x x x x x x x "2" - 1 xx - - - N A R - - 1=Sim;2=Não 1=Si;2=No 1=Yes;2=No - Empty(M->DTC_NUMCOT) - - 1 S - - N N N - - - 1 2 - - - 54137 0
DTC 88 DTC_CF C 5 0 Cod. Fiscal Cod. Fiscal Tax Cd Codigo Fiscal da Operacao Cod. Fiscal de la Operaci Operation Tax Cd @9 Vazio() .Or. AvalCFO('DTC',M->DTC_CF) x x x x x x xx x x x x x x x x - 13 1 xx - - - S A R - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54138 0
DTC 89 DTC_PESLIQ N 11 4 Peso Liquido Peso Neto Net Weight Peso Liquido Peso Neto Net Weight @E 999,999.9999 Positivo() .And. TMSA050VLD() x x x x x x xx x x x x x x x x - - 1 xx - - - - - - - - - - - - - - - - S - - N N N - - - 1 2 - - - 54139 0
DTC 90 DTC_INCOTE C 3 0 Incoterm Incoterm Incoterm Incoterm Incoterm Incoterm @! TMSA050VLD() x x x x x x xx x x x x x x x x - MP 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_INCOTE') - - - S - - N N N - - - 1 2 - - - 54140 0
DTC 91 DTC_MOEDA N 2 0 Moeda Moneda Currency Moeda Moneda Currency 99 M->DTC_MOEDA > 0 .And. M->DTC_MOEDA <= MoedFin() x x x x x x xx x x x x x x x x 1 - 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_MOEDA') - - - S - - N N N - - - 1 2 - - - 54141 0
DTC 92 DTC_CLINOT C 6 0 Cd.Notificar Cod.Notific. Cd.Notify Codigo Cliente a Notifica Cod. Cliente por Notific. Code ofCustomer to Notify @! Vazio() .Or. TMSA050VLD() x x x x x x xx x x x x x x x x - SA1 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_CLINOT') - 001 - S - - N N N - - - 1 2 - - - 54142 0
DTC 93 DTC_LOJNOT C 2 0 Lj.Notificar Tda. Notif. Un.Notify Loja Cliente a Notificar Tda. Cliente por Notifica Cust. Store to notify @! Vazio() .Or. TMSA050VLD() x x x x x x xx x x x x x x x x - - 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_LOJNOT') - 002 - S - - N N N - - - 1 2 - - - 54143 0
DTC 94 DTC_NOMNOT C 50 0 Notificar a Notificar a Notify Cliente a Notificar Cliente por Notificar Customer to Notify @! - x x x x x x xx x x x x x x x x Iif(Inclui,'',Posicione('SA1',1,xFilial('SA1')+DTC->DTC_CLINOT+DTC->DTC_LOJNOT,'A1_NOME')) - 1 xx - - - - V V - - - - - - - - 175 - S - - N N N - - - 1 2 - - - 54144 0
DTC 95 DTC_DOCANE M 80 0 Doc.Anexos Doc.Adjunt. Att. Doc. Documentos Anexos Documentos Adjuntos Attached Documents @! - x x x x x x xx x x x x x x x x Iif(Inclui,TMA050INI('M->DTC_DOCANE'),E_MSMM(DTC->DTC_CODDCA,80)) - 1 xx - - - - - V - - - - - - TMSA050WHE('M->DTC_DOCANE') - - - S - - N N N - - - 1 2 - - - 54145 0
DTC 96 DTC_CODDCA C 6 0 Cd.Doc.Anexo Cod.Doc.Adj. Cd.Att.Doc. Codigo Doc.Anexos Codigo Doc.Adjuntos Code Att. Documents @9 - x x x x x x xx x x x x x x x x - - 1 xx - - - - V - - - - - - - - - - - S - - N N N - - - 1 2 - - - 54146 0
DTC 97 DTC_ROTA C 6 0 Rota Trayecto Route Codigo da Rota Codigo del Trayecto Route Code @! Vazio() .Or. TMSA050Vld() x x x x x x xx x x x x x x x x - DI5 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_ROTA') - 041 - S - - N N N - - - 1 2 - - - 54147 0
DTC 98 DTC_DESROT C 30 0 Praça Princ. Plaza Princ. Main Mark. Praça Principal Plaza Principal Main Market @! - x x x x x x xx x x x x x x x x Iif(Inclui,'',Posicione('DA8',1,xFilial('DA8')+DTC->DTC_ROTA,'DA8_DESC')) - 1 xx - - - - V V - - - - - - - - - - S - - N N N - - - 1 2 - - - 54148 0
DTC 99 DTC_VALSEG N 14 2 Val.Seguro Val.Seguro Insuranc Vl Valor do Seguro Valor del Seguro Insurance Value @E 99,999,999,999.99 Vazio() .Or. TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - - - - - - - - - - TMSA050WHE('M->DTC_VALSEG') - - - S - - N N N - - - 1 2 - - - 54149 0
DTC A0 DTC_EXCTDA C 1 0 Descon. TDA No con. TDA Ignore TDA Desconsidera Calculo TDA No consid. Calc. TDA Ignore TDA Calculation @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S - - - - 1=Coleta;2=Entrega;3=Ambas 1=rRecolecc.;2=Entrega;3=Ambas 1=Collection;2=Delivery;3=Both - - - - 2 S - - N N N - - - 1 2 - - - 54150 0
DTC A1 DTC_BASICM N 14 2 Base de ICMS Base de ICMS ICMS Base Base de Calculo para ICMS Base de Calculo para ICMS Calculation Base for ICMS @E 99,999,999,999.99 Positivo() .And. TMSA050Vld() x x x x x x x x x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54151 0
DTC A2 DTC_NFELET C 8 0 NF-e NF-e Electronic T Nota Fiscal Eletrônica Factura Electronica Electronic Invoice @! - x x x x x x xx x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54152 0
DTC A3 DTC_EMINFE D 8 0 Emissao NF-e Emision e-F NF-e Issue Emissão da NF Eletrônica Emision de la Fact. Elect Electronic-Invoice Issue - - x x x x x x xx x x x x x x x x CTOD("") - 1 x - - - S V R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54153 0
DTC A4 DTC_CODNFE C 8 0 Cd.Ver.NF-e Cd.Ver.e-Fac NF-e Ch. Dig Código Verificação NF-e Codigo Verificacion e-Fac NF-e Verification Code @! - x x x x x x xx x x x x x x x x - - 1 x - - - S V R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54154 0
DTC A5 DTC_VALICM N 14 2 Vlr ICMS Val. ICMS ICMS Val. Valor do ICMS Valor de ICMS ICMS Value @E 99,999,999,999.99 - x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54155 0
DTC A6 DTC_BASESU N 14 2 Base ST Tran Base ST Tran Tran ST Base Base ICMS ST Transporte Base ICMS ST Transporte Transp. ICMS ST Base @E 99,999,999,999.99 - x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54156 0
DTC A7 DTC_VALIST N 14 2 Val. ST Tran Val. ST Tran Tran ST Val. Valor ICMS ST transporte Valor ICMS ST transporte Transp. ICMS ST Value @E 99,999,999,999.99 - x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54157 0
DTC A8 DTC_NFEID C 44 0 Chave NF-e Clave Fac-e NF-e Key Chave da NF-e SEFAZ Clave de Fact-e SEFAZ Key of SEFAZ NF-e @! TMSA050NF() x x x x x x x x x x x x x x x x - - 1 x xx - - - S A R - - - - - - - - 183 - S - - N N N - - - 1 2 - - - 54158 0
DTC A9 DTC_MODELO C 2 0 Modelo Nota Modelo Fact. Invoice Mod Modelo da Nota Fiscal Modelo de la Factura Invoice Model @! - x x x x x x xx x x x x x x x x - - 1 x xx - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54159 0
DTC B0 DTC_ICMRET N 14 2 ICMS Retido ICMS Reten. Withh. ICMS ICMS Retido Subst. Trib. ICMS Reten. Sust. Trib. Withheld ICMS Tax Subst. @E 99,999,999,999.99 - x x x x x x xx x x x x x x x x - - 1 x xx - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54160 0
DTC B1 DTC_PRVENT D 8 0 Prv.Entrega Prv.Entrega Estm.Delivry Previsão de Entrega Previsión de Entrega Estimated Delivery - - x x x x x x xx x x x x x x x x CTOD("") - 1 xx - - - - V R - - - - - - - - - 1 N - - N N N - - - 1 2 - - - 54161 0
DTC B2 DTC_NFENTR C 1 0 Sta.Doc.Cli. Esta.Doc.Cli Cus.Doc.Sta. Status Documento Cliente Estatus Documento Cliente Customer Document Status @! - x x x x x x x xx x x x x x x x x "2" - 1 x - - - S V R - - 1=Entregue;2=Nao Entregue;3=Bloqueada 1=Entregado;2=No entregado;3=Bloqueada 1=Delivered;2=Not Delivered;3=Blocked - - - - - S - - N N N - - - 1 2 - - - 54162 0
DTC B3 DTC_FILOCO C 2 0 Fil.Ocorre. Suc. Ocurre Occur. Br. Filial da Ocorrencia Sucursal de Ocurrencia Occurrence Branch - - x x x x x x x xx x x x x x x x x - - 1 x - - - N V R - - - - - - - - 033 - S - - N N N - - - 1 2 - - - 54163 0
DTC B4 DTC_NUMOCO C 6 0 No. Ocorre. No. Ocurre. Occur. No. No. Ocorre. No. Ocurre. Occurrence No. @! - x 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 - - - 54164 0
DTC B5 DTC_RECISS C 1 0 Recolhe ISS Paga ISS Pay ISS Recolhe ISS Paga ISS Pay ISS @! Pertence("12") x x x x x x x x x x x x x x x x - - 1 x - - - - - - - - 1=Sim;2=Nao 1=Si;2=No 1=Yes;2=No - - - - 1 S - - N N N - - - 1 2 - - - 54165 0
DTC B6 DTC_TIPAGD C 1 0 Tipo Agend. Tipo Prog Ag Sched. Type Tipo do Agendamento Tipo de programación en a Schedule Type - TMSA050Vld() x x x x x x xx x x x x x x x x "4" - 1 xx - - - N A R - - 0=Prioridade Cliente;1=Prioridade Transportador;2=Cliente;3=Transportador;4=Aguardando Agendamento 0=Prioridad cliente;1=Prioridad transportista;2=Cliente;3=Transportista;4=Esperando programción en agenda 0=Client priority;1=Carrier priority;2=Client;3=Carrier;4=Waiting scheduling - TMSA050WHE('M->DTC_TIPAGD') - - - S - - N - N - - - 1 2 - - - 54166 0
DTC B7 DTC_DATAGD D 8 0 Data Agend. Fecha Prog Sched. Date Data do Agendamento Fecha de Prog en Agenda Scheduled Date - TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - - - - - TMSA050WHE('M->DTC_DATAGD') - - - S - - N - N - - - 1 2 - - - 54167 0
DTC B8 DTC_PRDAGD C 1 0 Periodo Periodo Period Periodo para a Entrega Periodo para Entrega Period for Delivery - TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - 1=A partir de;2=Ate;3=De / Ate;4=Na hora 1=A partir de;2=A;3=De / A;4=De inmediato 1=From;2=To;3=From/To;4=On time - TMSA050WHE('M->DTC_PRDAGD') - - - S - - N - N - - - 1 2 - - - 54168 0
DTC B9 DTC_INIAGD C 4 0 Hr.Ini.Agend Hr.Ini.P Ag. Sch. St. Tm. Hora Inicial Agd de Entr Hora inicial Agd de Entr Hora Inicial Agd de Entr @R 99:99 TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - - - - - TMSA050WHE("M->DTC_INIAGD") - - - N - - N - N - - - 1 2 - - - 54169 0
DTC C0 DTC_PRHENT C 4 0 Hora Prv.Ent Hora Prv.Ent Est Deliv Tm Hora Previsao de Entrega Hora previsión de entrega Estimated Delivery Time @R 99:99 - x x x x x x xx x x x x x x x x - - 1 x xx - - - - - - - - - - - - - - - - S - - N - N - - - 2 2 - - - 54170 0
DTC C1 DTC_FIMAGD C 4 0 Hr.Fim Agend Hr.Fin P Ag. Sch. End Tm. Hora Final Agend de Entr Hora final Agend de Entr Hora Final Agend de Entr @R 99:99 TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - - - - - TMSA050WHE("M->DTC_FIMAGD") - - - S - - N - N - - - 1 2 - - - 54171 0
DTC C2 DTC_IDREM C 15 0 Id. Remessa Id. Envio Remit Id. Identificador Remessa Identificador Envio Remit Identifier @! - x x x x x x x x x x x x x x x x - - 1 x xx - - - S A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 54172 0
DTC C3 DTC_MOTAGD M 10 0 Motivo Agend Motivo Progr Sched.Reason Motivo de Agendamento Motivo de programación en Scheduling Reason - TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 xx - - - N A R - - - - - - TMSA050WHE('M->DTC_MOTAGD') - - - S - - N - N - - - 1 2 - - - 54173 0
DTC C4 DTC_SELORI C 1 0 Selec.Origem Selec.Origen Selec.Orig. Seleciona Origem Selecciona Origen Select Origin @! Pertence("123") .And. TMSA050Vld() x x x x x x xx x x x x x x x x "1" - 1 xxx - - - - - - - - 1=Transportadora;2=Cliente Remetente;3=Local Coleta ou Exped 1=Transportadora;2=Cliente Remitente;3=Lugar Recol o Exped 1=Carrier;2=Sender customer;3=Location collec or shipm - TMSA050Whe() - - 1 S - - N N N - - - 1 1 - - - 54174 0
DTC C5 DTC_ORIRAT C 6 0 Cod.Origem R Cod.Origen P App.Src.Code Cod.Origem Rateio Cod.Origen prorrateo Apportionment Source Code @! TMSA050Vld() x x x x x x x x x x x x x x x x x - DUY 1 xx - S - N A R - - - - - - TMSA050WHE() - - 4 S - - N - N - - - 1 1 - - - 54175 0
DTC C6 DTC_RORRAT C 30 0 Desc.Origem Desc.Origen Desc.Source Desc.Origem Rateio Desc.Origen prorrateo Descr. Apportionment Src @! - x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DTC->DTC_ORIRAT,"DUY_DESCRI")) - 1 xx - - - N V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_ORIRAT,"DUY_DESCRI") - 4 S - - N - N - - - 1 1 - - - 54176 0
DTC C7 DTC_UORRAT C 2 0 UF Origem Ra Pr Origen Pr FU App Src. UF Origem Rateio Prov Origen prorrateo Apportionment Source FU @! TmsA115Vld() x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DTC->DTC_ORIRAT,"DUY_EST")) 12 1 xx - - - S V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_ORIRAT,"DUY_EST") - 4 S - - N - N - - - 1 1 - - - 54177 0
DTC C8 DTC_CALRAT C 6 0 Cod.Calc. Ra Cod.Calc. Pr App.Calc.Cod Cod.Calc. Rateio Cod.Calc. Prorrateo Apportionment Calc. Code @! TMSA050Vld() x x x x x x x x x x x x x x x x x - DUY 1 xx - S - N A R - - - - - - TMSA050WHE() - - 4 S - - N - N - - - 1 1 - - - 54178 0
DTC C9 DTC_RCARAT C 30 0 Desc.Calc. R Desc.Calc. P Desc.App.Cal Desc.Calc. Rateio Desc.Calc. Prorrateo Descr. Apportionment Calc @! TmsPesqRegiao("DTC_CALRAT","DTC_RCARAT") x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CALRAT,"DUY_DESCRI")) - 1 xx - - - N V V - - - - - - - Posicione('DUY',1,xFilial('DUY')+DTC->DTC_CALRAT,'DUY_DESCRI') - 4 S - - N - N - - - 1 1 - - - 54179 0
DTC D0 DTC_UCARAT C 2 0 UF Calc. Rat Pr Calc. Pr FU App Calc. UF Calc. Rateio Provincia Calc. Porrateo Apportionment Calc. FU @! TmsA115Vld() x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CALRAT,"DUY_EST")) 12 1 xx - - - S V V - - - - - - - Posicione("DUY",1,xFilial("DUY")+DTC->DTC_CALRAT,"DUY_EST") - 4 S - - N - N - - - 1 1 - - - 54180 0
DTC D1 DTC_FILDPC C 2 0 Filial Desp. Sucursal Des Exp Branch Filial do Despachante Sucursal del Despachante Broker Branch - Vazio() .Or. ( ExistCpo('DVL') .And. TMSA050Vld() .And. TMSA050Edi() .And. TMSA050Dev()) x x x x x x xx x x x x x x x x - DVL 1 xx - - - - - - - - - - - - - - 033 1 S - - N N N - - - 1 2 - - - 54181 0
DTC D2 DTC_CTRDPC C 9 0 CTRC Desp. CTRC Tramita CTRC Exp. CTRC Despachante CTRC Tramitador Expediter CTRC @! TMSA050Edi() .And. TMSA050Dev() x x x x x x xx x x x x x x x x - - 1 x x - - - N - - - - - - - - - - 018 1 S - - N N N - - - 1 2 - - - 54182 0
DTC D3 DTC_TIPANT C 1 0 Tp. Doc.Ant. Tp. Doc.Ant. Prev.Doc.Tp. Tipo Documento Anterior Tipo Documento Anterior Previous Document Type @! - x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - 1=ATRE;2=DTA;3=Con.Aéreo Intl;4=Carta Porte Intl;5=Con.Avulso;6=TIF;7=BL 1=ATRE;2=DTA;3=Con.Aéreo Intl;4=Carta Porte Intl;5=Con.Suelto;6=TIF;7=BL 1=ATRE;2=DTA;3=Intl.AirWaybill;4=Int'l Bill of Lading;5=Separate Waybill;6=TIF;7=BL - - - - - S - - N N N - - - 1 2 - - - 54183 0
DTC D4 DTC_DPCEMI D 8 0 Dt. Doc. Ant Fc. Doc. Ant Prev.Doc.Iss Data Emissao Doc.Ant. Fecha Emision Doc.Ant. Issuing Dt Prev. Doc. - TMSA050Vld() x x x x x x xx x x x x x x x x - - 1 x - - - S A - - - - - - - - - - - S - - N N N - - - 1 2 - - - 54184 0
DTC D5 DTC_CTEANT C 44 0 CTe Doc.Ant. CTe Doc.Ant. CTe Prev.Doc Chave CT-e Doc. Ant. Clave CT-e Doc. Ant. Prev. Doc. CT-e Key @! Vazio() .Or. TmsA050Vld() x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - - - - - - - - - S - - N N N - - - 1 2 - - - 54185 0
DTC D6 DTC_SERDPC C 3 0 Serie CTRC Serie CTRC CTRC Series Serie CTRC Despachante Serie CTRC Tramitador Forwarder CTRC Series !!! - x x x x x x xx x x x x x x x x - - 1 x - - - S A R - - - - - - - - 094 - S - - N N N - - - 1 2 - - - 54186 0
DTC D7 DTC_NCONTR C 15 0 Contrato Contrato Contract Número do Contrato Numero del contrato Contract Number @! - x x x x x x x x x x x x x x x x - - 1 xx - - - N V R - - - - - - TMSA050Whe() - - 1 S - - N - N - - - 1 2 - - - 54187 0
DTC D8 DTC_CODNEG C 2 0 Cod Negociac Cod Negociac Negot. Code Código da Negociação Codigo de negociacion Negotiation Code @! (Vazio() .Or. Existcpo("DDB")) .And. TMSA050Vld() x x x x x x x x x x x x x x x x - DDB1 1 xx - S - N A R - - - - - - TMSA050Whe() - 119 1 S - - N - N - - - 1 2 - - - 54188 0
DTC D9 DTC_DESNEG C 30 0 Desc Neg Ctr Desc Neg Con Ctr Neg Desc Descrição da Negociação Descripcion negociacion Negotiation Description @! - x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("DDB",1,xFilial("DDB") + DTC->DTC_CODNEG,"DDB_DESCRI")) - 1 xx - - - N V V - - - - - - - - - 1 S - - N - N - - - 1 2 - - - 54189 0
DTC E0 DTC_VALDPC N 14 2 Frete Desp. Flete Tram. Freight Exp Frete Despachante Flete Tramitador Expediter Freight @E 99,999,999,999.99 - x x x x x x xx x x x x x x x x - - 1 x xx - - - - - - - - - - - - - - - 1 S - - N N N - - - 1 2 - - - 54190 0
DTC E1 DTC_FRTSUB N 9 2 Frt. Sub. Flt. Sub. Sub. Freight Vl. Frete Sub. Ant Vl. Flete Sub. Ant Sub. Ant. Freight Value @E 999,999.99 - x x x x x x xx x x x x x x x x - - 1 x - - - S A - - - - - - - - - - - S - - S - N - - - 1 2 - - - 54191 0
DTC E2 DTC_USUAGD C 6 0 Cod. Usuario Cod. Usuario User Code Codigo do Usuario Codigo del Usuario User Code - - x x x x x x xx x x x x x x x x RETCODUSR() - 1 xx - - - N V R - - - - - - - - - - N - - N - N - - - 1 2 - - - 54192 0
DTC E3 DTC_NUMAGD C 6 0 Agendamento Pr en Agenda Scheduling Código do Agendamento Codigo de Programacion Scheduling Code - - x x x x x x xx x x x x x x x x - - 1 xx - - - N V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 54193 0
DTC E4 DTC_ITEAGD C 3 0 Item Agend. Item Program Sched. Item Item do Agendamento item de Programacion Scheduling Item - - x x x x x x xx x x x x x x x x - - 1 xx - - - N V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 54194 0
DTC E5 DTC_OLDSQD C 2 0 Old.Sq.End.D Old.Sc.Dir.D Old.Sq.End.D Old.Seq.End.Destinatario Old.Sec.Dir.Destinatario Destination Add. Old. Seq @! - x x x x x x x x x x x x x x x - - 1 - - - - N V R - - - - - - - - - - S - - N - N - - - 1 2 - - - 54195 0
DTC E6 DTC_DOCTMS C 1 0 Docto.Transp Docto.Transp Transp Doc Documento de Transporte Documento de transporte Transportation Document @! Vazio() .Or. TMSValField("M->DTC_DOCTMS",.T.,"DTC_DESDOC") .And. TMSA050Vld() x x x x x x x x x x x x x x x x - - 1 x - - - N V R - - - - - - - - - 1 S - - N - N - - - 1 2 - - - 54196 0
DTC E7 DTC_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 - - - 54197 0
DTC E8 DTC_OK C 2 0 Ok Ok Ok Ok para Selecao Ok para selección Ok for Selection - - x x x x x x x x x x x x x x x - - 1 x - - - N A R - - - - - - - - - - S - - N - N - - - 1 2 - - - 54198 0
DTC E9 DTC_SDOCC 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 - - - 54199 0
DTC F0 DTC_DOCREE C 1 0 Existe Reent Existe Reent Redelivery? Existe Doc Reetrega/Dev. Existe Doc Reetrega/Dev. Redeliv./Dev. Document? - - x x x x x x x x x x x x x x x x "2" - 1 x - - - N V R - - 1=Sim;2=Nao 1=Sí;2=No 1=Yes;2=No - - - - - S - - N - N - - - 1 2 - - - 54200 0
DTC F1 DTC_DESDOC C 30 0 Desc.Docto. Desc.Docto. Doc Descr Desc.Docto.de Transporte Desc.Docto.de Transporte Transport Doc Description @! - x x x x x x x x x x x x x x x x If(!Inclui,TMSValField("DTC->DTC_DOCTMS",.F.,"DTC_DESDOC"),"") - 1 x - - - N V V - - - - - - - - - 1 S - - N - N - - - 1 2 - - - 54201 0
DTC F2 DTC_SDOCPC C 3 0 Serie CTRC Serie CTRC CTRC Series Serie CTRC Despachante Serie CTRC Tramitador Forwarding Agent CTRC Ser !!! - 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 - - - 54202 0
DTC F3 DTC_CLIEXP C 6 0 Expedidor Expedidor Dispatcher Cd. Expedidor Cód. Expedidor Dispatcher Code @! TMSA050Vld() x x x x x x x x x x x x x x x x - SA1 1 xx - S - - A R - - - - - - TMSA050Whe('DTC_CLIEXP') - 001 1 S - - N - N - - - 1 2 - - - 54203 0
DTC F4 DTC_LOJEXP C 2 0 Loja Exp. Tienda Exp. Disp. Store Loja Expedidor Tienda expedidor Dispatcher Store @! TMSA050Vld() x x x x x x x x x x x x x x x x - - 1 xx - S - - - - - - - - - - TMSA050Whe('DTC_LOJEXP') - 002 1 S - - N - N - - - 1 2 - - - 54204 0
DTC F5 DTC_NOMEXP C 50 0 Nome Exp. Nombre Exp. Disp. Name Nome Expedidor Nombre expedidor Dispatcher Name @! - x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIEXP+DTC->DTC_LOJEXP,"A1_NOME")) - 1 x xx - - - - V V - - - - - - - - 175 1 S - - N - N - - - 1 2 - - - 54205 0
DTC F6 DTC_CLIREC C 6 0 Recebedor Receptor Receiver Codigo do Recebedor Código del receptor Recipient Code @! TMSA050VLD() x x x x x x x x x x x x x x x x - SA1 1 xx - - - - A R - - - - - - TMSA050Whe() - 001 1 S - - N - N - - - 1 2 - - - 54206 0
DTC F7 DTC_LOJREC C 2 0 Loja Recebed Tda Receptor Receipt Stor Loja do Recebedor Tienda del receptor Recipient Store @! TMSA050VLD() x x x x x x x x x x x x x x x x - - 1 xx - - - - A R - - - - - - TMSA050WHE() - 002 1 S - - N - N - - - 1 2 - - - 54207 0
DTC F8 DTC_NOMREC C 50 0 Nome Recebeb Nomb Recepto Receipt name Nome Recebedor Nombre recibidor Recipient's name @! - x x x x x x x x x x x x x x x x Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DTC->DTC_CLIREC+DTC->DTC_LOJREC,"A1_NOME")) - 1 x xx - - - - V V - - - - - - - - 175 1 S - - N - N - - - 1 2 - - - 54208 0
DTC F9 DTC_RETIRA C 1 0 Retira? ¿Retira? Withdraw? Retira? ¿Retira? Withdraw? @! TMSA050Vld() x x x x x x x x x x x x x x x x '1' - 1 x xx - - - N A R - - 1=Sim;2=Não 1=Sí;2=No 1=Yes;2=No - TMSA050WHE() - - - S - - N - N - - - 1 2 - - - 54209 0
DTC G0 DTC_INVORI C 1 0 Inverte orig Invierte Ori Reverse orig Inverte origem Invierte origen Reverse origin @! PERTENCE("1,2") x x x x x x x x x x x x x x x x "2" - 1 x xx - - - - A R - - 1=Sim; 2=Não 1=Sí. 2=No. 1=Yes; 2=No. - IIF(M->DTC_TIPNFC=='1', .F., .T.) - - 1 S - - N - N - - - 1 2 - - - 54210 0
DTC G1 DTC_INDNEG C 1 0 Ind. Negocia Ind. Negoc. Neg Ind. Indicador Negociável Indicador negociable Negotiable Indicator @! - x x x x x x xx x x x x x x x x - - 1 x - - - - - R - - 0=Não Negociável;1=Negociável 0=No negociable;1=Negociable 0=Not Negotiable;1=Negotiable - - - - 1 S - - N - N - - - 1 2 - - - 54211 0
DTC G2 DTC_SUBVEI C 8 0 Vei.Subcontr Vehíc.Subcon Subcontr Veh Veiculo de Subcontratação Vehículo de Subcontrat. Subcontracting Vehicle @! ExistCpo('DA3') x x x x x x x x x x x x x x x x - DTU 1 xx - - - N A R - - - - - - - - - 1 S - - N - N - - - 1 1 - - - 54212 0

Índices da Tabela DTC (19 índices)

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_
DTC 1 DTC_FILIAL+DTC_FILORI+DTC_LOTNFC+DTC_CLIREM+DTC_LOJREM+DTC_CLIDES+DTC_LOJDES+DTC_SERVIC+DTC_CODPRO+DTC_NUMNFC+DTC_SERNFC Fil.Origem + No.Lote + Remetente + Loja Remet. + Destinatario + Loja D Suc.Origen + Nº Lote + Remitente + Tda Remit. + Destinatario + Tienda Orig.Branch + Lot No. + Sender + Send.Unit + Recipient + Unit Dest. + S XXX+XXX+SA1+XXX+SA1+XXX+SB1+XXX+XXX+XXX - S 2 3 - 8278 0
DTC 2 DTC_FILIAL+DTC_NUMNFC+DTC_SERNFC+DTC_CLIREM+DTC_LOJREM+DTC_CODPRO+DTC_FILORI+DTC_LOTNFC Doc.Cliente + Serie Dc.Cli + Remetente + Loja Remet. + Cod. Produto + Doc.Cliente + Serie Dc.Cli + Remitente + Tda Remit. + Cod. Product + S Doc.Customer + Cust.Ser.Doc + Sender + Send.Unit + Product Code + Orig S XXX+XXX+SA1+XXX+XXX+DTP - S 2 3 - 8279 0
DTC 3 DTC_FILIAL+DTC_FILDOC+DTC_DOC+DTC_SERIE+DTC_SERVIC+DTC_CODPRO Fil.Docto. + No.Docto. + Serie Docto. + Servico + Cod. Produto Suc.Docto. + Nº Docto. + Serie Docto. + Servicio + Cod. Product Doc Branch + Doc.No. + Doc.Series + Service + Product Code S XXX+XXX+XXX - S 2 3 - 8280 0
DTC 4 DTC_FILIAL+DTC_FILDOC+DTC_DOCPER+DTC_SERIE+DTC_SERVIC+DTC_CODPRO Fil.Docto. + Doc.1o.Perc. + Serie Docto. + Servico + Cod. Produto Suc.Docto. + Doc.1º Tray. + Serie Docto. + Servicio + Cod. Product Doc Branch + Doc.1stCour + Doc.Series + Service + Product Code S XXX+XXX+XXX - S 2 3 - 8281 0
DTC 5 DTC_FILIAL+DTC_CLIREM+DTC_LOJREM+DTC_NUMNFC+DTC_SERNFC Remetente + Loja Remet. + Doc.Cliente + Serie Dc.Cli Remitente + Tda Remit. + Doc.Cliente + Serie Dc.Cli Sender + Send.Unit + Doc.Customer + Cust.Ser.Doc S SA1+XXX+XXX+XXX - S 2 3 - 8282 0
DTC 6 DTC_FILIAL+DTC_CLIDES+DTC_LOJDES+DTC_NUMNFC+DTC_SERNFC Destinatario + Loja Dest. + Doc.Cliente + Serie Dc.Cli Destinatario + Tienda Dest. + Doc.Cliente + Serie Dc.Cli Recipient + Unit Dest. + Doc.Customer + Cust.Ser.Doc S SA1+XXX+XXX+XXX - S 2 3 - 8283 0
DTC 7 DTC_FILIAL+DTC_DOC+DTC_SERIE+DTC_FILDOC+DTC_NUMNFC+DTC_SERNFC No.Docto. + Serie Docto. + Fil.Docto. + Doc.Cliente + Serie Dc.Cli Nº Docto. + Serie Docto. + Suc.Docto. + Doc.Cliente + Serie Dc.Cli Doc.No. + Doc.Series + Doc Branch + Doc.Customer + Cust.Ser.Doc S XXX+XXX+XXX - S 2 3 - 8284 0
DTC 8 DTC_FILIAL+DTC_FILORI+DTC_NUMSOL Fil.Origem + No.Sl.Coleta Suc.Origen + No.Sl.Colect Orig.Branch + CollecReqNo S - - S 2 3 - 8285 0
DTC 9 DTC_FILIAL+DTC_FILDOC+DTC_NFELET+DTC_CLIDEV+DTC_LOJDEV Fil.Docto. + NF-e + Devedor + Loja Devedor Suc.Docto. + NF-e + Deudor + Tda Deudor Doc Branch + Electronic T + Debtor + Unit Devedor S - - S 2 3 - 8286 0
DTC A DTC_FILIAL+DTC_FILORI+DTC_LOTNFC+DTC_CLIREM+DTC_LOJREM+DTC_CLIDES+DTC_LOJDES+DTC_SERVIC+DTC_CODPRO+DTC_NUMNFC+DTC_SDOCC Fil.Origem + No.Lote + Remetente + Loja Remet. + Destinatario + Loja D Suc.Origen + Nº Lote + Remitente + Tda Remit. + Destinatario + Tienda Orig.Branch + Lot No. + Sender + Send.Unit + Recipient + Unit Dest. + S XXX+XXX+SA1+XXX+SA1+XXX+SB1+XXX+XXX+XXX - N 2 3 - 8287 0
DTC B DTC_FILIAL+DTC_NUMNFC+DTC_SDOCC+DTC_CLIREM+DTC_LOJREM+DTC_CODPRO+DTC_FILORI+DTC_LOTNFC Doc.Cliente + Série Doc. + Remetente + Loja Remet. + Cod. Produto + Fi Doc.Cliente + Serie Doc. + Remitente + Tda Remit. + Cod. Product + Suc Doc.Customer + Inv. Series + Sender + Send.Unit + Product Code + Orig. S XXX+XXX+SA1+XXX+XXX+DTP - N 2 3 - 8288 0
DTC C DTC_FILIAL+DTC_FILDOC+DTC_DOC+DTC_SDOC+DTC_SERVIC+DTC_CODPRO Fil.Docto. + No.Docto. + Série Doc. + Servico + Cod. Produto Suc.Docto. + Nº Docto. + Serie Doc. + Servicio + Cod. Product Doc Branch + Doc.No. + Inv. Series + Service + Product Code S - - N 2 3 - 8289 0
DTC D DTC_FILIAL+DTC_FILDOC+DTC_DOCPER+DTC_SDOC+DTC_SERVIC+DTC_CODPRO Fil.Docto. + Doc.1o.Perc. + Série Doc. + Servico + Cod. Produto Suc.Docto. + Doc.1º Tray. + Serie Doc. + Servicio + Cod. Product Doc Branch + Doc.1stCour + Inv. Series + Service + Product Code S XXX+XXX+XXX - N 2 3 - 8290 0
DTC E DTC_FILIAL+DTC_CLIREM+DTC_LOJREM+DTC_NUMNFC+DTC_SDOCC Remetente + Loja Remet. + Doc.Cliente + Série Doc. Remitente + Tda Remit. + Doc.Cliente + Serie Doc. Sender + Send.Unit + Doc.Customer + Inv. Series S SA1+XXX+XXX+XXX - N 2 3 - 8291 0
DTC F DTC_FILIAL+DTC_CLIDES+DTC_LOJDES+DTC_NUMNFC+DTC_SDOCC Destinatario + Loja Dest. + Doc.Cliente + Série Doc. Destinatario + Tienda Dest. + Doc.Cliente + Serie Doc. Recipient + Unit Dest. + Doc.Customer + Inv. Series S SA1+XXX+XXX+XXX - N 2 3 - 8292 0
DTC G DTC_FILIAL+DTC_DOC+DTC_SERIE+DTC_FILDOC+DTC_NUMNFC+DTC_SDOCC No.Docto. + Serie Docto. + Fil.Docto. + Doc.Cliente + Série Doc. Nº Docto. + Serie Docto. + Suc.Docto. + Doc.Cliente + Serie Doc. Doc.No. + Doc.Series + Doc Branch + Doc.Customer + Inv. Series S - - N 2 3 - 8293 0
DTC H DTC_FILIAL+DTC_FILCFS+DTC_NUMSOL Fil. Sol/Cot + No.Sl.Coleta Suc. Sol/Cot + No.Sl.Colect Req/Quo Bran + CollecReqNo S - - S 2 3 - 8294 0
DTC I DTC_FILIAL+DTC_NFEID Chave NF-e Clave Fac-e NF-e Key S - - S 2 3 - 8295 0
DTC J DTC_FILIAL+DTC_NUMNFC+DTC_SERNFC+DTC_CLIREM+DTC_LOJREM+DTC_FILDOC+DTC_DOC+DTC_SERIE Doc.Cliente + Serie Dc.Cli + Remetente + Loja Remet. + Fil.Docto. + No Doc.Cliente + Serie Dc.Cli + Remitente + Tda Remit. + Suc.Docto. + Nº Doc.Customer + Cust.Ser.Doc + Sender + Send.Unit + Doc Branch + Doc.No S - - S 2 3 - 8296 0

Perguntas frequentes

Para que serve a tabela DTC no Protheus?

Ela é utilizada para doc cliente para transporte dentro do sistema ERP Protheus.

Como consultar os campos da tabela DTC?

Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.

O que são os índices da tabela DTC?

Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.

Exemplo de consulta SQL da tabela DTC

Modelo de query gerado automaticamente com base na estrutura da tabela.

SELECT
    DTC_FILIAL,
    DTC_FILORI,
    DTC_LOTNFC,
    DTC_FILCFS,
    DTC_NUMSOL,
    DTC_DATENT,
    DTC_ESTORN,
    DTC_NUMNFC,
    DTC_MOENFC,
    DTC_SERNFC,
    DTC_CODPRO,
    DTC_DESPRO,
    DTC_CODEMB,
    DTC_DESEMB,
    DTC_EMINFC,
    DTC_QTDVOL,
    DTC_PESO,
    DTC_PESOM3,
    DTC_VALOR,
    DTC_METRO3,
    DTC_BASSEG,
    DTC_QTDUNI,
    DTC_ENDTMS,
    DTC_CLIREM,
    DTC_LOJREM,
    DTC_NOMREM,
    DTC_INSREM,
    DTC_SQIREM,
    DTC_CLIDES,
    DTC_LOJDES,
    DTC_NOMDES,
    DTC_SQEDES,
    DTC_INSDES,
    DTC_SQIDES,
    DTC_NUMCOT,
    DTC_CLICON,
    DTC_LOJCON,
    DTC_INSCON,
    DTC_SQICON,
    DTC_NOMCON,
    DTC_CLIDPC,
    DTC_LOJDPC,
    DTC_NOMDPC,
    DTC_INSDPC,
    DTC_SQIDPC,
    DTC_ALIANC,
    DTC_DESALI,
    DTC_DPCLOC,
    DTC_DEVFRE,
    DTC_CLIDEV,
    DTC_LOJDEV,
    DTC_NOMDEV,
    DTC_CLICAL,
    DTC_LOJCAL,
    DTC_NOMCAL,
    DTC_TIPFRE,
    DTC_SERTMS,
    DTC_DESSVT,
    DTC_TIPTRA,
    DTC_SERVIC,
    DTC_DESTPT,
    DTC_TIPNFC,
    DTC_DESSER,
    DTC_DESTIP,
    DTC_CDRORI,
    DTC_REGORI,
    DTC_CDRDES,
    DTC_REGDES,
    DTC_CDRCAL,
    DTC_REGCAL,
    DTC_FILDOC,
    DTC_DOC,
    DTC_SERIE,
    DTC_CDRPER,
    DTC_DOCPER,
    DTC_REGPER,
    DTC_VLRINF,
    DTC_CODOBS,
    DTC_EDI,
    DTC_OBS,
    DTC_DATCOL,
    DTC_HORCOL,
    DTC_DTENTR,
    DTC_HORENT,
    DTC_RECEBE,
    DTC_KM,
    DTC_DISTIV,
    DTC_CF,
    DTC_PESLIQ,
    DTC_INCOTE,
    DTC_MOEDA,
    DTC_CLINOT,
    DTC_LOJNOT,
    DTC_NOMNOT,
    DTC_DOCANE,
    DTC_CODDCA,
    DTC_ROTA,
    DTC_DESROT,
    DTC_VALSEG,
    DTC_EXCTDA,
    DTC_BASICM,
    DTC_NFELET,
    DTC_EMINFE,
    DTC_CODNFE,
    DTC_VALICM,
    DTC_BASESU,
    DTC_VALIST,
    DTC_NFEID,
    DTC_MODELO,
    DTC_ICMRET,
    DTC_PRVENT,
    DTC_NFENTR,
    DTC_FILOCO,
    DTC_NUMOCO,
    DTC_RECISS,
    DTC_TIPAGD,
    DTC_DATAGD,
    DTC_PRDAGD,
    DTC_INIAGD,
    DTC_PRHENT,
    DTC_FIMAGD,
    DTC_IDREM,
    DTC_MOTAGD,
    DTC_SELORI,
    DTC_ORIRAT,
    DTC_RORRAT,
    DTC_UORRAT,
    DTC_CALRAT,
    DTC_RCARAT,
    DTC_UCARAT,
    DTC_FILDPC,
    DTC_CTRDPC,
    DTC_TIPANT,
    DTC_DPCEMI,
    DTC_CTEANT,
    DTC_SERDPC,
    DTC_NCONTR,
    DTC_CODNEG,
    DTC_DESNEG,
    DTC_VALDPC,
    DTC_FRTSUB,
    DTC_USUAGD,
    DTC_NUMAGD,
    DTC_ITEAGD,
    DTC_OLDSQD,
    DTC_DOCTMS,
    DTC_SDOC,
    DTC_OK,
    DTC_SDOCC,
    DTC_DOCREE,
    DTC_DESDOC,
    DTC_SDOCPC,
    DTC_CLIEXP,
    DTC_LOJEXP,
    DTC_NOMEXP,
    DTC_CLIREC,
    DTC_LOJREC,
    DTC_NOMREC,
    DTC_RETIRA,
    DTC_INVORI,
    DTC_INDNEG,
    DTC_SUBVEI
FROM DTC
WHERE
    D_E_L_E_T_ = ' '
    AND DTC_FILIAL = 'VALOR'
    AND DTC_FILORI = 'VALOR'
    AND DTC_LOTNFC = 'VALOR'
    AND DTC_FILCFS = 'VALOR'
    AND DTC_NUMSOL = 'VALOR'
    AND DTC_DATENT BETWEEN '20260801' AND '20260831'
    AND DTC_ESTORN = 'VALOR'
    AND DTC_NUMNFC = 'VALOR'
    AND DTC_MOENFC = 0
    AND DTC_SERNFC = 'VALOR'
    AND DTC_CODPRO = 'VALOR'
    AND DTC_DESPRO = 'VALOR'
    AND DTC_CODEMB = 'VALOR'
    AND DTC_DESEMB = 'VALOR'
    AND DTC_EMINFC BETWEEN '20260801' AND '20260831'
    AND DTC_QTDVOL = 0
    AND DTC_PESO = 0
    AND DTC_PESOM3 = 0
    AND DTC_VALOR = 0
    AND DTC_METRO3 = 0
    AND DTC_BASSEG = 0
    AND DTC_QTDUNI = 0
    AND DTC_ENDTMS = 'VALOR'
    AND DTC_CLIREM = 'VALOR'
    AND DTC_LOJREM = 'VALOR'
    AND DTC_NOMREM = 'VALOR'
    AND DTC_INSREM = 'VALOR'
    AND DTC_SQIREM = 'VALOR'
    AND DTC_CLIDES = 'VALOR'
    AND DTC_LOJDES = 'VALOR'
    AND DTC_NOMDES = 'VALOR'
    AND DTC_SQEDES = 'VALOR'
    AND DTC_INSDES = 'VALOR'
    AND DTC_SQIDES = 'VALOR'
    AND DTC_NUMCOT = 'VALOR'
    AND DTC_CLICON = 'VALOR'
    AND DTC_LOJCON = 'VALOR'
    AND DTC_INSCON = 'VALOR'
    AND DTC_SQICON = 'VALOR'
    AND DTC_NOMCON = 'VALOR'
    AND DTC_CLIDPC = 'VALOR'
    AND DTC_LOJDPC = 'VALOR'
    AND DTC_NOMDPC = 'VALOR'
    AND DTC_INSDPC = 'VALOR'
    AND DTC_SQIDPC = 'VALOR'
    AND DTC_ALIANC = 'VALOR'
    AND DTC_DESALI = 'VALOR'
    AND DTC_DPCLOC = 'VALOR'
    AND DTC_DEVFRE = 'VALOR'
    AND DTC_CLIDEV = 'VALOR'
    AND DTC_LOJDEV = 'VALOR'
    AND DTC_NOMDEV = 'VALOR'
    AND DTC_CLICAL = 'VALOR'
    AND DTC_LOJCAL = 'VALOR'
    AND DTC_NOMCAL = 'VALOR'
    AND DTC_TIPFRE = 'VALOR'
    AND DTC_SERTMS = 'VALOR'
    AND DTC_DESSVT = 'VALOR'
    AND DTC_TIPTRA = 'VALOR'
    AND DTC_SERVIC = 'VALOR'
    AND DTC_DESTPT = 'VALOR'
    AND DTC_TIPNFC = 'VALOR'
    AND DTC_DESSER = 'VALOR'
    AND DTC_DESTIP = 'VALOR'
    AND DTC_CDRORI = 'VALOR'
    AND DTC_REGORI = 'VALOR'
    AND DTC_CDRDES = 'VALOR'
    AND DTC_REGDES = 'VALOR'
    AND DTC_CDRCAL = 'VALOR'
    AND DTC_REGCAL = 'VALOR'
    AND DTC_FILDOC = 'VALOR'
    AND DTC_DOC = 'VALOR'
    AND DTC_SERIE = 'VALOR'
    AND DTC_CDRPER = 'VALOR'
    AND DTC_DOCPER = 'VALOR'
    AND DTC_REGPER = 'VALOR'
    AND DTC_VLRINF = 0
    AND DTC_CODOBS = 'VALOR'
    AND DTC_EDI = 'VALOR'
    AND DTC_DATCOL BETWEEN '20260801' AND '20260831'
    AND DTC_HORCOL = 'VALOR'
    AND DTC_DTENTR BETWEEN '20260801' AND '20260831'
    AND DTC_HORENT = 'VALOR'
    AND DTC_RECEBE = 'VALOR'
    AND DTC_KM = 0
    AND DTC_DISTIV = 'VALOR'
    AND DTC_CF = 'VALOR'
    AND DTC_PESLIQ = 0
    AND DTC_INCOTE = 'VALOR'
    AND DTC_MOEDA = 0
    AND DTC_CLINOT = 'VALOR'
    AND DTC_LOJNOT = 'VALOR'
    AND DTC_NOMNOT = 'VALOR'
    AND DTC_CODDCA = 'VALOR'
    AND DTC_ROTA = 'VALOR'
    AND DTC_DESROT = 'VALOR'
    AND DTC_VALSEG = 0
    AND DTC_EXCTDA = 'VALOR'
    AND DTC_BASICM = 0
    AND DTC_NFELET = 'VALOR'
    AND DTC_EMINFE BETWEEN '20260801' AND '20260831'
    AND DTC_CODNFE = 'VALOR'
    AND DTC_VALICM = 0
    AND DTC_BASESU = 0
    AND DTC_VALIST = 0
    AND DTC_NFEID = 'VALOR'
    AND DTC_MODELO = 'VALOR'
    AND DTC_ICMRET = 0
    AND DTC_PRVENT BETWEEN '20260801' AND '20260831'
    AND DTC_NFENTR = 'VALOR'
    AND DTC_FILOCO = 'VALOR'
    AND DTC_NUMOCO = 'VALOR'
    AND DTC_RECISS = 'VALOR'
    AND DTC_TIPAGD = 'VALOR'
    AND DTC_DATAGD BETWEEN '20260801' AND '20260831'
    AND DTC_PRDAGD = 'VALOR'
    AND DTC_INIAGD = 'VALOR'
    AND DTC_PRHENT = 'VALOR'
    AND DTC_FIMAGD = 'VALOR'
    AND DTC_IDREM = 'VALOR'
    AND DTC_SELORI = 'VALOR'
    AND DTC_ORIRAT = 'VALOR'
    AND DTC_RORRAT = 'VALOR'
    AND DTC_UORRAT = 'VALOR'
    AND DTC_CALRAT = 'VALOR'
    AND DTC_RCARAT = 'VALOR'
    AND DTC_UCARAT = 'VALOR'
    AND DTC_FILDPC = 'VALOR'
    AND DTC_CTRDPC = 'VALOR'
    AND DTC_TIPANT = 'VALOR'
    AND DTC_DPCEMI BETWEEN '20260801' AND '20260831'
    AND DTC_CTEANT = 'VALOR'
    AND DTC_SERDPC = 'VALOR'
    AND DTC_NCONTR = 'VALOR'
    AND DTC_CODNEG = 'VALOR'
    AND DTC_DESNEG = 'VALOR'
    AND DTC_VALDPC = 0
    AND DTC_FRTSUB = 0
    AND DTC_USUAGD = 'VALOR'
    AND DTC_NUMAGD = 'VALOR'
    AND DTC_ITEAGD = 'VALOR'
    AND DTC_OLDSQD = 'VALOR'
    AND DTC_DOCTMS = 'VALOR'
    AND DTC_SDOC = 'VALOR'
    AND DTC_OK = 'VALOR'
    AND DTC_SDOCC = 'VALOR'
    AND DTC_DOCREE = 'VALOR'
    AND DTC_DESDOC = 'VALOR'
    AND DTC_SDOCPC = 'VALOR'
    AND DTC_CLIEXP = 'VALOR'
    AND DTC_LOJEXP = 'VALOR'
    AND DTC_NOMEXP = 'VALOR'
    AND DTC_CLIREC = 'VALOR'
    AND DTC_LOJREC = 'VALOR'
    AND DTC_NOMREC = 'VALOR'
    AND DTC_RETIRA = 'VALOR'
    AND DTC_INVORI = 'VALOR'
    AND DTC_INDNEG = 'VALOR'
    AND DTC_SUBVEI = 'VALOR'