Consolidação Itens XML
A tabela DKA faz parte do sistema ERP Protheus da TOTVS e é utilizada para consolidação itens xml.
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 DKA 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 DKA, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DKA |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DKA990 |
| X2_NOME | Consolidação Itens XML |
| X2_NOMESPA | Consolidación ítems XML |
| X2_NOMEENG | XML Items Consolidation |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DKA_FILIAL+DKA_DOC+DKA_SERIE+DKA_FORNEC+DKA_LOJA+DKA_ITXML |
| X2_PYME | S |
| X2_MODULO | 2 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 1 |
| 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_ | 3373 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DKA | 01 | DKA_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 | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52054 | 0 |
| DKA | 02 | DKA_DOC | C | 9 | 0 | Documento | Documento | Document | Documento | Documento | Document | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52055 | 0 |
| DKA | 03 | DKA_SERIE | C | 3 | 0 | Serie | Serie | Series | Serie do Documento | Serie del documento | Document Series | !!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 094 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52056 | 0 |
| DKA | 04 | DKA_FORNEC | C | 6 | 0 | Fornecedor | Proveedor | Supplier | Fornecedor | Proveedor | Supplier | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52057 | 0 |
| DKA | 05 | DKA_LOJA | C | 2 | 0 | Loja | Tienda | Store | Loja do Fornecedor | Tienda del proveedor | Supplier Store | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52058 | 0 |
| DKA | 06 | DKA_ITXML | C | 3 | 0 | Item do XML | Ítem del XML | XML Item | Item do XML | Ítem del XML | XML Item | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52059 | 0 |
| DKA | 07 | DKA_PRODUT | C | 15 | 0 | Produto | Producto | Product | Código do Produto | Código del producto | Code of Product | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52060 | 0 |
| DKA | 08 | DKA_DESCFO | C | 50 | 0 | Desc Prd For | Desc Prd Pro | Supp Prd Dsc | Desc Prod Fornecedor | Desc Prod Proveedor | Supplier Prod Desc | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 171 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52061 | 0 |
| DKA | 09 | DKA_QUANT | N | 11 | 2 | Qtd NF | Cant Fact | Inv Qty | Qtd da NF | Cant. de la Fact | Invoice Qty | @E 99,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52062 | 0 |
| DKA | 10 | DKA_UM | C | 2 | 0 | Unid Medida | Unid Medida | Measrmt Un | Unidade de Medida | Unidad de medida | Measurement Unit | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52063 | 0 |
| DKA | 11 | DKA_UMXML | C | 2 | 0 | Un Med XML | Un Med XML | XML Msr Un | Unid Medida do XML | Unid Medida del XML | Measurement Unit of XML | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52064 | 0 |
| DKA | 12 | DKA_QTDXML | N | 11 | 2 | Qtd XML | Cant XML | XML Qty | Qtd do XML | Cant del XML | Qty of XML | @E 99,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52065 | 0 |
| DKA | 13 | DKA_FATOR | N | 12 | 6 | Fator Conver | Factor Conve | Conv Factor | Fator de Conversão | Factor de conversión | Conversion Factor | @E 99,999.999999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52066 | 0 |
| DKA | 14 | DKA_VLRTOT | N | 14 | 2 | Valor Total | Valor total | Total Value | Valor total do Item | Valor total del ítem | Total value of Item | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52067 | 0 |
| DKA | 15 | DKA_ITEMNF | M | 10 | 0 | Itens NF | Ítems Fact | Inv Items | Itens da NF | Ítems de la Fact | Invoice Items | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52068 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DKA | 1 | DKA_FILIAL+DKA_DOC+DKA_SERIE+DKA_FORNEC+DKA_LOJA+DKA_ITXML | Documento + Serie + Fornecedor + Loja + Item do XML | Documento + Serie + Proveedor + Tienda + Ítem del XML | Document + Series + Supplier + Store + XML Item | S | - | - | S | 2 | 3 | - | 8020 | 0 |
Ela é utilizada para consolidação itens xml 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
DKA_FILIAL,
DKA_DOC,
DKA_SERIE,
DKA_FORNEC,
DKA_LOJA,
DKA_ITXML,
DKA_PRODUT,
DKA_DESCFO,
DKA_QUANT,
DKA_UM,
DKA_UMXML,
DKA_QTDXML,
DKA_FATOR,
DKA_VLRTOT,
DKA_ITEMNF
FROM DKA
WHERE
D_E_L_E_T_ = ' '
AND DKA_FILIAL = 'VALOR'
AND DKA_DOC = 'VALOR'
AND DKA_SERIE = 'VALOR'
AND DKA_FORNEC = 'VALOR'
AND DKA_LOJA = 'VALOR'
AND DKA_ITXML = 'VALOR'
AND DKA_PRODUT = 'VALOR'
AND DKA_DESCFO = 'VALOR'
AND DKA_QUANT = 0
AND DKA_UM = 'VALOR'
AND DKA_UMXML = 'VALOR'
AND DKA_QTDXML = 0
AND DKA_FATOR = 0
AND DKA_VLRTOT = 0