Itens dos docs. na Mont.Volume
A tabela DCT faz parte do sistema ERP Protheus da TOTVS e é utilizada para itens dos docs. na mont.volume.
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 DCT 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 DCT, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DCT |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DCT990 |
| X2_NOME | Itens dos docs. na Mont.Volume |
| X2_NOMESPA | Items de Docs. Mont. Volumen |
| X2_NOMEENG | Doc items in Package Assembly |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DCT_FILIAL+DCT_CODMNT+DCT_CARGA+DCT_PEDIDO+DCT_PRDORI+DCT_CODPRO+DCT_LOTE+DCT_SUBLOT |
| X2_PYME | N |
| X2_MODULO | 42 |
| X2_DISPLAY | DCT_FILIAL+DCT_CODMNT+DCT_CARGA+DCT_PEDIDO+DCT_PRDORI+DCT_CODPRO+DCT_LOTE+DCT_SUBLOT |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 2 |
| 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_ | 3132 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DCT | 01 | DCT_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal de 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 | - | - | - | 48536 | 0 |
| DCT | 02 | DCT_CODMNT | C | 6 | 0 | Cod Montagem | Cód Montaje | Assem Code | Código da Montagem | Código del moontaje | Assembly Code | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x xxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48537 | 0 |
| DCT | 03 | DCT_CARGA | C | 6 | 0 | Carga | Carga | Load | Numero da Carga | Numero de la Carga | Load Number | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 48538 | 0 |
| DCT | 04 | DCT_PEDIDO | C | 6 | 0 | Pedido | Pedido | Order | Numero do Pedido | Numero del Pedido | Order Number | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | S | - | N | - | - | - | 2 | 1 | - | - | - | 48539 | 0 |
| DCT | 05 | DCT_PRDORI | C | 15 | 0 | Prd. Origem | Prd. Origen | Origin Prod | Produto origem | Producto origen | Origin Product | @! | ExistCPO("SB1") | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48540 | 0 |
| DCT | 06 | DCT_CODPRO | C | 15 | 0 | Cod.Produto | Cod.Producto | Product Code | Codigo do Produto | Codigo de Producto | Product Code | @! | ExistCPO("SB1") | x x x x x x x x x x x x x x x xx | - | - | 1 | xxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 030 | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48541 | 0 |
| DCT | 07 | DCT_DESCR | C | 50 | 0 | Descricao | Descripción | Description | Descricao do Produto | Descripción del producto | Product Description | @! | - | x x x x x x x x x x x x x x x x | POSICIONE("SB1",1,XFILIAL("SB1")+DCT->DCT_CODPRO,"B1_DESC") | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("SB1",1,XFILIAL("SB1")+DCT->DCT_CODPRO,"B1_DESC") | 171 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48542 | 0 |
| DCT | 08 | DCT_LOTE | C | 10 | 0 | Lote | Lote | Lot | Numero do Lote | Numero de Lote | Lot Number | - | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 068 | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48543 | 0 |
| DCT | 09 | DCT_SUBLOT | C | 6 | 0 | SubLote | Sublote | SubLot | Numero do Sublote | Numero de Sublote | SubLot Number | @! | - | x x x x x x x x x x x x x x x xx | - | - | 1 | x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48544 | 0 |
| DCT | 10 | DCT_STATUS | C | 1 | 0 | Status | Estatus | Status | Status da Sequencia Docto | Estatus de Secuencia Docu | Docmt. Sequence Status | @! | - | x x x x x x xx x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | - | - | - | 1=Nao Iniciado;2=Em Andamento;3=Finalizado | 1=No Iniciado;2=En Andamiento;3=Finalizado | 1=Not Started;2=In Progress;3=Completed | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48545 | 0 |
| DCT | 11 | DCT_QTORIG | N | 12 | 2 | Qtd. Origem | Ctd Origen | Origin Qty | Quantidade Origem | Cantidad origen | Origin Quantity | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48546 | 0 |
| DCT | 12 | DCT_QTSEPA | N | 12 | 2 | Qtd.Separada | Cant.Separ. | Separat. Amt | Quantidade Separada | Cantidad Separada | Amount Separated | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48547 | 0 |
| DCT | 13 | DCT_QTEMBA | N | 12 | 2 | Qtd.Embalada | Cant. Entrad | Pack. Amt. | Quantidade Embalada | Cantidad Empaquetada | Packed Amount | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48548 | 0 |
| DCT | 14 | DCT_DATA | D | 8 | 0 | Data Geracao | Fch Generac. | Gen Date | Data Geracao | Fecha de generación | Generation Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48549 | 0 |
| DCT | 15 | DCT_HORA | C | 8 | 0 | Hora Geracao | Hora Generac | Gen Time | Hora Geracao | Hora de generación | Generation Time | 99:99:99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48550 | 0 |
| DCT | 16 | DCT_ORIGEM | C | 1 | 0 | Origem | Origen | Origin | Origem do Documento | Origen del Documento | Document Origin | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | 1=Pedido;2=Carga | 1=Pedido;2=Carga | 1=Order;2=Shipment | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48551 | 0 |
| DCT | 17 | DCT_IDDCF | C | 6 | 0 | Seq.Servico | Sec.Servicio | Service Seq. | Seq.do Servico Executado | Sec.de Servicio Ejecutado | Executed Service Seq. | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 48552 | 0 |
| DCT | 18 | DCT_DOCTO | C | 9 | 0 | No.Documento | No.Documento | Document No. | Numero do Documento | Numero del documento | Document Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | - | - | - | - | - | - | - | - | - | 018 | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48553 | 0 |
| DCT | 19 | DCT_QTLIBE | N | 12 | 2 | Qtd.Liberada | Cant. Aprob. | ApprovedAmt. | Quantidade Liberada | Cantidad Aprobada | Approved Amount | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | V | - | - | - | - | - | - | - | - | - | - | - | N | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48554 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DCT | 1 | DCT_FILIAL+DCT_CODMNT+DCT_CARGA+DCT_PEDIDO+DCT_PRDORI+DCT_CODPRO+DCT_LOTE+DCT_SUBLOT | Cod Montagem + Carga + Pedido + Prd. Origem + Cod.Produto + Lote + Sub | Cód Montaje + Carga + Pedido + Prod. Origen + Cod.Producto + Lote + Su | Assemb Code + Load + Order + Src Prod + Product Code + Lot + SubLot | S | - | - | S | 2 | 3 | - | 7538 | 0 |
Ela é utilizada para itens dos docs. na mont.volume 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
DCT_FILIAL,
DCT_CODMNT,
DCT_CARGA,
DCT_PEDIDO,
DCT_PRDORI,
DCT_CODPRO,
DCT_DESCR,
DCT_LOTE,
DCT_SUBLOT,
DCT_STATUS,
DCT_QTORIG,
DCT_QTSEPA,
DCT_QTEMBA,
DCT_DATA,
DCT_HORA,
DCT_ORIGEM,
DCT_IDDCF,
DCT_DOCTO,
DCT_QTLIBE
FROM DCT
WHERE
D_E_L_E_T_ = ' '
AND DCT_FILIAL = 'VALOR'
AND DCT_CODMNT = 'VALOR'
AND DCT_CARGA = 'VALOR'
AND DCT_PEDIDO = 'VALOR'
AND DCT_PRDORI = 'VALOR'
AND DCT_CODPRO = 'VALOR'
AND DCT_DESCR = 'VALOR'
AND DCT_LOTE = 'VALOR'
AND DCT_SUBLOT = 'VALOR'
AND DCT_STATUS = 'VALOR'
AND DCT_QTORIG = 0
AND DCT_QTSEPA = 0
AND DCT_QTEMBA = 0
AND DCT_DATA BETWEEN '20260401' AND '20260430'
AND DCT_HORA = 'VALOR'
AND DCT_ORIGEM = 'VALOR'
AND DCT_IDDCF = 'VALOR'
AND DCT_DOCTO = 'VALOR'
AND DCT_QTLIBE = 0