Dicionário Protheus
Início

Tabela DD9 no Protheus

Itens da Prog. de Carregamento

O que é a tabela DD9 no Protheus?

A tabela DD9 faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens da prog. de carregamento.

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

Propriedades da Tabela

Propriedade Valor
X2_CHAVE DD9
X2_PATH \DATA\
X2_ARQUIVO DD9990
X2_NOME Itens da Prog. de Carregamento
X2_NOMESPA items de Prog. de Carga
X2_NOMEENG Loading Sch. Items
X2_ROTINA -
X2_MODO C
X2_MODOUN E
X2_MODOEMP E
X2_DELET 0
X2_TTS -
X2_UNICO DD9_FILIAL+DD9_FILORI+DD9_NUMPRG+DD9_SEQPRG+DD9_ITEM
X2_PYME N
X2_MODULO 43
X2_DISPLAY DD9_FILIAL+DD9_FILORI+DD9_NUMPRG+DD9_ITEM
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_ 3148
R_E_C_D_E_L_ 0

Campos da Tabela DD9 (32 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_
DD9 01 DD9_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 - - - - - - - - - - - - - - - 033 - N - - N N N - - - 1 2 - - - 48735 0
DD9 02 DD9_FILORI C 2 0 Fil.Origem Suc.Origen Src Branch Filial Origem do Carregto Sucur. Origen de Cargam Shipment Source Branch - - x x x x x x x x x x x x x x x - - 1 x xx - - - N V R - - - - - - - - 033 - N - - N N N - - - 1 2 - - - 48736 0
DD9 03 DD9_NUMPRG C 6 0 N. Carregto N. Cargam Shipment No N Carregto N Cargamento Shipment Number - - x x x x x x x x x x x x x x x - - 1 x xx - - - N V R - - - - - - - - - - N - - N N N - - - 1 2 - - - 48737 0
DD9 04 DD9_ITEM C 3 0 Item Item Item Item Item Item - - x x x x x x x x x x x x x x x x - - 1 x xxx - - - N V R - - - - - - - - - - N - - N N N - - - 1 1 - - - 48738 0
DD9 05 DD9_CLIREM C 6 0 Remetente Remitente Sender Cliente Remetente Cliente Remitente Shipping Customer @! TMSA146Vld() x x x x x x x x x x x x x x x x - - 1 x xxx - - - S A R - - - - - - TMSA146Whe() - 001 - N - - N N N - - - 1 1 - - - 48739 0
DD9 06 DD9_LOJREM C 2 0 Loja Tienda Store Loja Remetente Tienda Remitente Sender Store @! TMSA146Vld() x x x x x x x x x x x x x x x x - - 1 x xxx - - - S A R - - - - - - TMSA146Whe() - 002 - N - - N N N - - - 1 1 - - - 48740 0
DD9 07 DD9_NOMREM C 50 0 Nome Remet Nombre Remit Sender Name Nome Remetente Nombre Remitente Sender Name @! - x x x x x x x x x x x x x x x x If(!Inclui,Posicione("SA1",1,xFilial("SA1")+DD9->DD9_CLIREM+DD9->DD9_LOJREM,"A1_NOME"),"") - 1 x xx x - - - N V V - - - - - - - - 175 - N - - N N N - - - 1 2 - - - 48741 0
DD9 08 DD9_NUMNFC C 9 0 Doc.Cliente Doc.Cliente Customer Doc Doc.Cliente Doc.Cliente Customer Document @! TMSA146Vld() x x x x x x x x x x x x x x x x - - 1 x xxx - - - S A R - - - - - - TMSA146Whe() - 019 - N - - N N N - - - 1 1 - - - 48742 0
DD9 09 DD9_SERNFC C 3 0 Série Serie Series Série Doc.Cliente Serie Doc.Cliente Customer Document Series !!! TMSA146Vld() x x x x x x x x x x x x x x x x - - 1 x xxx - - - N A R - - - - - - TMSA146Whe() - 094 - N - - N N N - - - 1 1 - - - 48743 0
DD9 10 DD9_CODPRO C 15 0 Produto Producto Product Produto Producto Product @! TMSA146Vld() x x x x x x x x x x x x x x x x - - 1 x xxx - - - S A R - - - - - - TMSA146Whe() - 030 - N - - N N N - - - 1 1 - - - 48744 0
DD9 11 DD9_DESPRO C 50 0 Desc.Produto Des.Producto Product Desc Descrição Produto Descripcion Producto Product Description @! - x x x x x x x x x x x x x x x x If(!Inclui,Posicione("SB1",1,xFilial("SB1")+DD9->DD9_CODPRO,"B1_DESC"),"") - 1 x xx x - - - N V V - - - - - - - - 171 - N - - N N N - - - 1 2 - - - 48745 0
DD9 12 DD9_QTDVOL N 5 0 Qtd.Volumes Cant Volum. Number Vol. Qtd.Volumes Cant Volumenes Number of Volumes @E 99,999 - x x x x x x x x x x x x x x x x - - 1 x xx x - - - N V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 48746 0
DD9 13 DD9_PESO N 11 4 Peso Peso Weight Peso Peso Weight @E 999,999.9999 - x x x x x x x x x x x x x x x x - - 1 xxxx x - - - N V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 48747 0
DD9 14 DD9_PESOM3 N 11 4 Peso Cubado Peso Cubado Cubic Weight Peso Cubado Peso Cubado Cubic Weight @E 999,999.9999 - x x x x x x x x x x x x x x x x - - 1 xxxx x - - - N V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 48748 0
DD9 15 DD9_VALOR N 14 2 Valor Valor Value Valor Mercadoria Valor Mercaderia Goods Value @E 99,999,999,999.99 - x x x x x x x x x x x x x x x x - - 1 xxxx x - - - N V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 48749 0
DD9 16 DD9_METRO3 N 11 4 M3 M3 M3 M3 M3 M3 @E 999,999.9999 - x x x x x x x x x x x x x x x x - - 1 xxxx x - - - N V V - - - - - - - - - - N - - N N N - - - 1 2 - - - 48750 0
DD9 17 DD9_FILDOC C 2 0 Fil.Docto. Fil.Docto. Doc. Branch Filial do Documento Filial del Documento Branch of Document - - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - 033 - N - - N N N - - - 1 2 - - - 48751 0
DD9 18 DD9_DOC C 9 0 No.Docto. No.Docto. Doc. Number Número do Documento Numero del Documento Document Number @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - 018 - N - - N N N - - - 1 2 - - - 48752 0
DD9 19 DD9_SERIE C 3 0 Serie Docto. Serie Docto. Doc. Serial Serie do Documento Serie del Documento Document Serial !!! - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - 094 - N - - N N N - - - 1 2 - - - 48753 0
DD9 20 DD9_SITCTE C 1 0 Situacao CTe Situac.CTe CTeSituation Situacao CTe Situación CTe CTe Situation - Pertence("0123456") x x x x x x x x x x x x x x x IIf(Inclui, Posicione( 'DT6', 1, xFilial('DT6')+DD9->DD9_FILDOC+DD9->DD9_DOC+DD9->DD9_SERIE, 'DT6_SITCTE' ), "") - 1 - - - - N V V - - 0=Nao Se Aplica;1=Aguardando;2=Autorizado;3=Nao Autorizado;4=Em Contingencia;5=Falha Comunicacao;6=Nao Transmitido 0=No Se Aplica;1=Aguardando;2=Autorizado;3=No Autorizado;4=En Contingencia;5=Fallo Comunicación;6=No Transmitido 0=Non Applicable;1=Waiting;2=Authorized;3=Not Authorized;4=Contingent;5=Communication Failure;6=Not Transmitted - - TMSSITCTE(DT6->DT6_LOTNFC) - - N - - N N N - - - 1 2 - - - 48754 0
DD9 21 DD9_STROTA C 1 0 Status Rota Estado Ruta Route Status Status Rota Estado Ruta Route Status - Pertence( "123" ) x x x x x x x x x x x x x x x "1" - 1 - - - - - V R - - 1=Da Rota;2=Sem Rota Definida;3=De Outra Rota 1=De la Ruta;2=Sin Ruta Definida;3=De Otra Ruta 1=From Route;2=No Route Defined;3=from Other Route - - - - - N - - N N N - - - 1 2 - - - 48755 0
DD9 22 DD9_SEQPRG C 3 0 Seq.Prog. Sec.Prog. Prog. Sequnc Sequencia da Programacao Secuencia de Programacion Programming Sequence @! - 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 2 - - - 48756 0
DD9 23 DD9_CLIDES C 6 0 Destinatario Destinatario Addressee Cliente Destinatario Cliente Destinatario Addressee Customer @! - x x x x x x x x x x x x x x x x - - 1 x xx - - - S V R - - - - - - - - 001 - S - - N - N - - - 1 2 - - - 48757 0
DD9 24 DD9_LOJDES C 2 0 Loja Cli.Des Tien Cli.Des Addr. Store Loja Destinatario Tienda Destinatario Addressee Store @! - x x x x x x x x x x x x x x x x - - 1 x xx - - - S V R - - - - - - - - 002 - S - - N - N - - - 1 2 - - - 48758 0
DD9 25 DD9_NOMDES C 50 0 Nome Dest. Nombre Dest. Address.Name Nome Destinatario Nombre Destinatario Addressee Name @! - x x x x x x x x x x x x x x x x If(!Inclui,Posicione("SA1",1,xFilial("SA1")+DD9->DD9_CLIDES+DD9->DD9_LOJDES,"A1_NOME"),"") - 1 x xx x - - - S V V - - - - - - - Posicione("SA1",1,xFilial("SA1")+DD9->DD9_CLIDES+DD9->DD9_LOJDES,"A1_NOME") 175 - S - - N - N - - - 1 2 - - - 48759 0
DD9 26 DD9_SERTMS C 1 0 Serv.Transp. Serv.Transp. TransprtServ Serviço de Transporte Servicio de Transporte Transport Service @! - 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 2 - - - 48760 0
DD9 27 DD9_FILCFS C 2 0 Fil.Coleta Suc.Recolecc Pickup Brnch Filial Origem Coleta Sucursal Origen Recolecci Source Pickup Branch - - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - 033 - S - - N - N - - - 1 2 - - - 48761 0
DD9 28 DD9_NUMSOL C 9 0 No.Sl.Coleta No.Sl.Recole PickupRqu.No No.Sol.Coleta No.Sol.Recoleccion Pickup Request Number @! - x x x x x x x x x x x x x x x x - - 1 xx - - - S V R - - - - - - - - 018 - S - - N - N - - - 1 2 - - - 48762 0
DD9 29 DD9_SEQUEN C 3 0 Seq.Entrega Sec.Entrega DeliverySequ Sequencia de Entrega Secuencia de Entrega Delivery Sequence @! - 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 2 - - - 48763 0
DD9 30 DD9_WAYPNT C 30 0 Way Point Way Point Way Point Way Point Way Point Way Point - - x 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 - - - 48764 0
DD9 31 DD9_SDOCNF C 3 0 Série Doc.Cl Serie Doc.Cl Cl.Inv.Serie Série Doc.Cliente Serie Doc.Cliente Customer 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 - - - 48765 0
DD9 32 DD9_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 - - - 48766 0

Índices da Tabela DD9 (3 í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_
DD9 1 DD9_FILIAL+DD9_FILORI+DD9_NUMPRG+DD9_SEQPRG+DD9_ITEM Fil.Origem + N. Carregto + Seq.Prog. + Item Suc.Origen + N. Cargam + Sec.Prog. + Item Src Branch + Shipment No + Prog. Sequnc + Item S - - S 2 3 - 7576 0
DD9 2 DD9_FILIAL+DD9_CLIREM+DD9_LOJREM+DD9_NUMNFC+DD9_SERNFC Remetente + Loja + Doc.Cliente + Série Remitente + Tienda + Doc.Cliente + Serie Sender + Store + Customer Doc + Series S - - N 2 3 - 7577 0
DD9 3 DD9_FILIAL+DD9_FILDOC+DD9_DOC+DD9_SERIE+DD9_CLIREM+DD9_LOJREM Fil.Docto. + No.Docto. + Serie Docto. + Remetente + Loja Fil.Docto. + No.Docto. + Serie Docto. + Remitente + Tienda Doc. Branch + Doc. Number + Doc. Serial + Sender + Store S - - S 2 3 - 7578 0

Perguntas frequentes

Para que serve a tabela DD9 no Protheus?

Ela é utilizada para itens da prog. de carregamento dentro do sistema ERP Protheus.

Como consultar os campos da tabela DD9?

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

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

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