Notas fiscais lote exportação
A tabela EK6 faz parte do sistema ERP Protheus da TOTVS e é utilizada para notas fiscais lote exportação.
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 EK6 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 EK6, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | EK6 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | EK6990 |
| X2_NOME | Notas fiscais lote exportação |
| X2_NOMESPA | Facturas lote exportación |
| X2_NOMEENG | Export batch invoices |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | EK6_FILIAL+EK6_NF+EK6_SERIE+EK6_CLIENT+EK6_LOJACL+EK6_COD_I+EK6_ITEM+EK6_PREEMB+EK6_NFSD+EK6_SENFSD+EK6_PDNFSD+EK6_SQPDNF+EK6_SQFTSD |
| X2_PYME | S |
| X2_MODULO | 29 |
| X2_DISPLAY | - |
| 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_ | 3860 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EK6 | 01 | EK6_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 | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62292 | 0 |
| EK6 | 02 | EK6_NF | C | 9 | 0 | Nota Fiscal | Factura | Invoice | Nota Fiscal Lote Export. | Fact. Lote Export. | Export Batch Invoice | @! | - | x x x x x x x x x x x x x x x x | - | D2LTEX | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_NF') | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62293 | 0 |
| EK6 | 03 | EK6_SERIE | C | 3 | 0 | Serie | Serie | Series | Serie NF Lote Export. | Serie Fact Lote Export. | Export Batch Invoice Seri | !!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_SERIE') | - | 094 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62294 | 0 |
| EK6 | 04 | EK6_CLIENT | C | 6 | 0 | Cliente | Cliente | Customer | Cliente NF Lote Export. | Cliente Fact Lote Export. | Export Batch Invoice Cust | @! | NF400Valid('EK6_CLIENT') | x x x x x x x x x x x x x x x x | - | SA1 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_CLIENT') | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62295 | 0 |
| EK6 | 05 | EK6_LOJACL | C | 2 | 0 | Loja Cliente | Tienda del c | Cust Store | Loja Cli.NF Lote Export. | Tda Cli.Fact Lote Export. | Export Batch Invoice Cust | @! | NF400Valid('EK6_LOJACL') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_LOJACL') | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62296 | 0 |
| EK6 | 06 | EK6_COD_I | C | 15 | 0 | Cód.Produto | Cód. Product | Product Code | Código do Produto NF | Código del producto Fact | Invoice product code | @! | NF400Valid('EK6_COD_I') | x x x x x x x x x x x x x x x x | - | SB1 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_COD_I') | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62297 | 0 |
| EK6 | 07 | EK6_ITEM | C | 2 | 0 | Item | Ítem | Item | Item da NF Lote Export. | Ítem de Fact Lote Export. | Export Batch Invoice Item | @! | NF400Valid('EK6_ITEM') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | NF400When('EK6_ITEM') | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62298 | 0 |
| EK6 | 08 | EK6_CHVNFE | C | 44 | 0 | Chave NFE | Clave eFact | Inv Key | Chave NFE da SEFAZ | Clave NFE del fisco | SEFAZ Invoice Key | @! | NF400Valid('EK6_CHVNFE') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_CHVNFE') | - | 183 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62299 | 0 |
| EK6 | 09 | EK6_QUANT | N | 14 | 5 | Quantidade | Cantidad | Quantity | Quantidade do item | Cantidad del ítem | Item Quantity | @E 99,999,999.99999 | NF400Valid('EK6_QUANT') | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_QUANT') | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62300 | 0 |
| EK6 | 10 | EK6_UMNF | C | 2 | 0 | Un.Med.NFE | Un.Med.NFE | Inv MU | Unid.Med. Item na NF | Unid.Med. Ítem en Fact | Measure Unit Item in Invo | - | NF400Valid('EK6_UMNF') | x x x x x x x x x x x x x x x x | - | SAH | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_UMNF') | - | 122 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62301 | 0 |
| EK6 | 11 | EK6_CFOP | C | 5 | 0 | CFOP | CFOP | CFOP | Cód.Fiscal da Operação | Cód.Fiscal de la operació | Operation Fiscal Code | @9 | NF400Valid('EK6_CFOP') | x x x x x x x x x x x x x x x x | - | 13 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | NF400When('EK6_CFOP') | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62302 | 0 |
| EK6 | 12 | EK6_QTUMIT | N | 14 | 5 | Qtde.UM.Prd. | Cant.UM.Prd. | Prd MU | Qtde.Unid.Item Export. | Cant.Unid.Ítem Export. | Export Item Unit Quantity | @E 99,999,999.99999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62303 | 0 |
| EK6 | 13 | EK6_PREEMB | C | 20 | 0 | Prc.Embarque | Prc.Embarque | Ship Pr | Processo de Embarque | Proceso de embarque | Shipping Process | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62304 | 0 |
| EK6 | 14 | EK6_NFSD | C | 9 | 0 | NF.Saida.Exp | Fact.Salida. | Exp Outb | Nota Fiscal Saída Export. | Fact. Salida Export. | Export Outbound Invoice | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62305 | 0 |
| EK6 | 15 | EK6_SENFSD | C | 3 | 0 | Ser.NF.Exp | Ser.Fact.Exp | Exp Inv S | Serie NF Saída Export. | Serie Fact. Salida Export | Export Outbound Invoice S | !!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | 094 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62306 | 0 |
| EK6 | 16 | EK6_PDNFSD | C | 20 | 0 | Ped.NF.Exp | Ped.Fact.Exp | Exp Inv | Pedido vinculado a NF Exp | Pedido vinculado a Fact E | Order bound to Exp Invoic | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62307 | 0 |
| EK6 | 17 | EK6_SQPDNF | C | 6 | 0 | Sq.Pd.NF.Exp | Sec.Pd.Fact. | Exp Inv Ord | Seq.do Item no Ped.Export | Sec.Ítem en Ped.Export | Sequence of Item in Expor | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62308 | 0 |
| EK6 | 18 | EK6_SQFTSD | C | 4 | 0 | Sq.Ft.NF.Exp | Sc.Ft.Fac.Ex | Exp. Inv | Seq.Fat.Item na NF Export | Sec.Fac.Ítem Fact Export | Billing Sequence in Expor | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62309 | 0 |
| EK6 | 19 | EK6_SEQEMB | C | 6 | 0 | Sq.It.EmbExp | Sc.Ít.EmbExp | Ship Process | Seq.Item no Proc.Embarque | Sec.Ítem en Proc.Embarque | Item Sequence in Shipment | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62310 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EK6 | 1 | EK6_FILIAL+EK6_NF+EK6_SERIE+EK6_CLIENT+EK6_LOJACL+EK6_COD_I+EK6_ITEM+EK6_PREEMB+EK6_NFSD+EK6_SENFSD+EK6_PDNFSD+EK6_SQPDNF+EK6_SQFTSD | Nota Fiscal + Serie + Cliente + Loja Cliente + Cód.Produto + Item + Pr | Factura + Serie + Cliente + Tienda del c + Cód. Product + Ítem + Prc.E | Invoice + Series + Customer + Cust Store + Product Code + Item + Ship | S | Filial+Nota Fiscal+Serie+Cliente+Loja+Cod.Produto+Item+Embarque+Pedido Exp.+Seq.Ped.Exp+NF Exp.+Serie NF.Exp.+Seq.Fat.NF.Exp | - | S | 2 | 3 | - | 9250 | 0 |
| EK6 | 2 | EK6_FILIAL+EK6_PREEMB+EK6_PDNFSD+EK6_SQPDNF+EK6_NFSD+EK6_SENFSD+EK6_SQFTSD | Prc.Embarque + Ped.NF.Exp + Sq.Pd.NF.Exp + NF.Saida.Exp + Ser.NF.Exp + | Prc.Embarque + Ped.Fact.Exp + Sec.Pd.Fact. + Fact.Salida. + Ser.Fact.E | Ship Pr + Exp Inv + Exp Inv Ord + Exp Outb + Exp Inv S + Exp. Inv | S | Embarque+Pedido+Seq.Pedido+NF Exp.+Serie NF Exp+Seq.Fat.NF | - | S | 2 | 3 | - | 9251 | 0 |
Ela é utilizada para notas fiscais lote exportação 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.