Sequência de Abastecimento
A tabela DC3 faz parte do sistema ERP Protheus da TOTVS e é utilizada para sequência de abastecimento.
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 DC3 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 DC3, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DC3 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DC3990 |
| X2_NOME | Sequência de Abastecimento |
| X2_NOMESPA | Secuencia de Abastecimiento |
| X2_NOMEENG | Supply Sequence |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DC3_FILIAL+DC3_LOCAL+DC3_CODPRO+DC3_ORDEM |
| X2_PYME | N |
| X2_MODULO | 42 |
| X2_DISPLAY | DC3_CODPRO+DC3_DESPRO |
| 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_ | 3106 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DC3 | 01 | DC3_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 | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48184 | 0 |
| DC3 | 02 | DC3_LOCAL | C | 2 | 0 | Armazem | Deposito | Warehouse | Armazem | Deposito | Warehouse | @! | ExistCpo("NNR") | x x x x x x x x x x x x x x x xx | - | NNR | 1 | x xxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 024 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48185 | 0 |
| DC3 | 03 | DC3_CODPRO | C | 15 | 0 | Cod. Produto | Cod.Producto | Product Code | Codigo do Produto | Codigo del Producto | Product Code | @! | ExistChav("DC3",M->DC3_CODPRO+M->DC3_LOCAL) .And. ExistCpo("SB5") | x x x x x x x x x x x x x x x xx | - | SB5 | 1 | x xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | S | N | N | - | - | - | 1 | 1 | - | - | - | 48186 | 0 |
| DC3 | 04 | DC3_DESPRO | C | 50 | 0 | Desc.Produto | Dsc.Producto | Product Desc | Descricao do Produto | Descripcion del Producto | Product Description | @! | - | x x x x x x x x x x x x x x x x | Iif(Inclui,"",Posicione("SB5",1,xFilial("SB5")+DC3->DC3_CODPRO,"B5_CEME")) | - | 1 | x x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SB5",1,xFilial("SB5")+DC3->DC3_CODPRO,"B5_CEME") | 171 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48187 | 0 |
| DC3 | 05 | DC3_REABAS | C | 3 | 0 | Serv.Reabast | Serv.Reabast | Refuel Serv. | Servico Reabastecimento | Servicio Reabastecimiento | Refueling Service | @! | - | x x x x x x x x x x x x x x x x | - | DC5 | 1 | x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 012 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48188 | 0 |
| DC3 | 06 | DC3_ORDEM | C | 2 | 0 | Ordem | Orden | Order | Ordem | Orden | Order | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48189 | 0 |
| DC3 | 07 | DC3_TPESTR | C | 6 | 0 | Estr.Fisica | Estr.Fisica | Phys.Struct. | Cod. da Estrutura Fisica | Cod. de Estructura Fisica | Physical Structure Code | 999999 | - | x x x x x x x x x x x x x x x x | - | DC8 | 1 | x xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48190 | 0 |
| DC3 | 08 | DC3_DESEST | C | 30 | 0 | Dsc.Est.Fis. | Dsc.Est.Fis. | Phy.St.Des. | Dsc.Estrutura Fisica | Dsc.Estructura Fisica | Phys.Structure Descript. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("DC8",1,xFilial("DC8")+DC3->DC3_TPESTR,"DC8_DESEST") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48191 | 0 |
| DC3 | 09 | DC3_CODNOR | C | 6 | 0 | Cod. Norma | Cod.Norma | Rule Code | Codigo da Norma | Codigo de la Norma | Rule Code | 999999 | ExistCpo("DC2") | x x x x x x x x x x x x x x x x | - | DC2 | 1 | x xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48192 | 0 |
| DC3 | 10 | DC3_DESNOR | C | 30 | 0 | Desc. Norma | Desc. Norma | Norm Descr. | Descricao da Norma | Descripcion de la Norma | Norm Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("DC2",1,xFilial("DC2")+DC3->DC3_CODNOR,"DC2_DESNOR") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48193 | 0 |
| DC3 | 11 | DC3_DESPIC | C | 30 | 0 | Desc.Sequen. | Desc.Secuen. | Seq.Desc. | Descricao da Sequencia | Descripcion de Secuencia | Sequence Description | @! | - | 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 | N | - | - | - | 1 | 2 | - | - | - | 48194 | 0 |
| DC3 | 12 | DC3_TIPREP | C | 1 | 0 | Tipo Repos. | Tipo Repos. | Replenish Tp | Tipo Reposição | Tipo Reposicion | Replenishment Type | 9 | Pertence("12") | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Norma;2=Completar | 1=Norma;2=Completar | 1=Rule;2=Complete | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48195 | 0 |
| DC3 | 13 | DC3_PERREP | N | 9 | 2 | Tx. Repos. % | Ts. Repos. % | Repl. % | Percentual para Reposicao | Porcentaje para Reposic. | Percent. for Replacement | @E 999999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48196 | 0 |
| DC3 | 14 | DC3_PERAPM | N | 9 | 2 | %Apanhe Max | %Recol Max | Max.Pickup% | Percentual Apanhe Maximo | Porcentaje Recol. Maxima | Maximum Pickup Percentage | @E 999999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48197 | 0 |
| DC3 | 15 | DC3_TIPSEP | C | 1 | 0 | Tipo Separ. | Tipo Separ. | Separat Tp | Tipo Separação | Tipo Separacion | Separation Type | 9 | Pertence("123") | x x x x x x x x x x x x x x x x | "3" | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Somente Norma;2=Saldo Restante;3=Quantidade Minima; | 1=Solo Norma;2=Saldo Restante;3=Cantidad Minima; | 1=Only Norm;2=Rest Balance;3=Minimum Quantity; | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48198 | 0 |
| DC3 | 16 | DC3_QTDUNI | N | 9 | 2 | Sep Minima | Sep Minima | Minimum Sep | Qtd Min Manipul no Endere | Ctd.Min.Manej.en Direcc. | Min.Qtty.Handled at Addr. | @E 999999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48199 | 0 |
| DC3 | 17 | DC3_NUNITI | N | 3 | 0 | Unitizadores | Unitizadores | Unitizer | Quantidade Unitizadores | Cantidad Unitizadores | Unitizers quantity | 999 | - | x x x x x x x x x x x x x x x x | 1 | - | 1 | x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48200 | 0 |
| DC3 | 18 | DC3_EMBDES | C | 1 | 0 | Tp.Sequencia | Tp.Secuencia | Sequ.Type | Tipo da Sequencia | Tipo de Secuencia | Sequence Type | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxx | - | - | - | S | A | R | - | - | 1=Abastecimento;2=Embarque/Desembarque | 1=Suministro;2=Embarque/Desembarque | 1=Supply;2=Load/Unload | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48201 | 0 |
| DC3 | 19 | DC3_TIPEND | C | 1 | 0 | Tp.Endereçam | Tp.Ubicacion | Address Tp | Tipo de Endereçamento | Tipo de ubicacion | Address Type | @! | Pertence("1234") | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | 1=Endereços Vazios;2=Endereços Parc. Cheios;3=Endereços Parc. Cheios Sem Misturar Lotes;4=Compartilha End. Produtos Diferentes | 1=Direcciones vacias;2=Direcciones Parc. Completas;3=Direcciones Parc. Completas sin mezclar lotes;4=Comparte Direcc. Prod. | 1=Blank Address;2=Part Full Address;3=Part Full Address without mix batches;4=Share Diff Prod Address | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48202 | 0 |
| DC3 | 20 | DC3_PRIEND | C | 1 | 0 | Prior. End. | Prior. Ubica | Address Prio | Prioridade Endereçamento | Prioridad Ubicación | Addressing Priority | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Picking;2=Pulmão | 1=Picking;2=Pulmón | 1=Picking;2=Lung | - | - | "1" | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48203 | 0 |
| DC3 | 21 | DC3_UMMOV | C | 1 | 0 | UM Movimento | UM Movimient | UM Mov | Unidade Medida Movto | Unidad Medida Movto | Movement Measure Unit | @! | - | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | S | A | R | - | - | 1=Primeira Unidade Medida;2=Segunda Unidade Medida;3=Solicita Unidade Medida | 1=Primera unidad medida;2=Segunda unidad medida;3=Solicita unidad medida | 1=First Measure Unit;2=Second Measure Unit;3=Request Measure Unit | - | - | "1" | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48204 | 0 |
| DC3 | 22 | DC3_ENDMIN | N | 9 | 2 | End. Mínimo | Ubi Mínima | Min. Address | Endereçamento Mínimo | Ubicación mínima | Minimum Addressing | @E 999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48205 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DC3 | 1 | DC3_FILIAL+DC3_CODPRO+DC3_LOCAL+DC3_ORDEM | Cod. Produto + Armazem + Ordem | Cod.Producto + Deposito + Orden | Product Code + Warehouse + Order | S | SB1 | - | S | 2 | 3 | - | 7474 | 0 |
| DC3 | 2 | DC3_FILIAL+DC3_CODPRO+DC3_LOCAL+DC3_TPESTR | Cod. Produto + Armazem + Estr.Fisica | Cod.Producto + Deposito + Estr.Fisica | Product Code + Warehouse + Phys.Struct. | S | SB1 | - | S | 2 | 3 | - | 7475 | 0 |
| DC3 | 3 | DC3_FILIAL+DC3_CODNOR | Cod. Norma | Cod.Norma | Rule Code | S | DC2 | - | S | 2 | 3 | - | 7476 | 0 |
| DC3 | 4 | DC3_FILIAL+DC3_TPESTR | Estr.Fisica | Estr.Fisica | Phys.Struct. | S | - | - | S | 2 | 3 | - | 7477 | 0 |
Ela é utilizada para sequência de abastecimento 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
DC3_FILIAL,
DC3_LOCAL,
DC3_CODPRO,
DC3_DESPRO,
DC3_REABAS,
DC3_ORDEM,
DC3_TPESTR,
DC3_DESEST,
DC3_CODNOR,
DC3_DESNOR,
DC3_DESPIC,
DC3_TIPREP,
DC3_PERREP,
DC3_PERAPM,
DC3_TIPSEP,
DC3_QTDUNI,
DC3_NUNITI,
DC3_EMBDES,
DC3_TIPEND,
DC3_PRIEND,
DC3_UMMOV,
DC3_ENDMIN
FROM DC3
WHERE
D_E_L_E_T_ = ' '
AND DC3_FILIAL = 'VALOR'
AND DC3_LOCAL = 'VALOR'
AND DC3_CODPRO = 'VALOR'
AND DC3_DESPRO = 'VALOR'
AND DC3_REABAS = 'VALOR'
AND DC3_ORDEM = 'VALOR'
AND DC3_TPESTR = 'VALOR'
AND DC3_DESEST = 'VALOR'
AND DC3_CODNOR = 'VALOR'
AND DC3_DESNOR = 'VALOR'
AND DC3_DESPIC = 'VALOR'
AND DC3_TIPREP = 'VALOR'
AND DC3_PERREP = 0
AND DC3_PERAPM = 0
AND DC3_TIPSEP = 'VALOR'
AND DC3_QTDUNI = 0
AND DC3_NUNITI = 0
AND DC3_EMBDES = 'VALOR'
AND DC3_TIPEND = 'VALOR'
AND DC3_PRIEND = 'VALOR'
AND DC3_UMMOV = 'VALOR'
AND DC3_ENDMIN = 0