Invoice de serviço
A tabela ELA faz parte do sistema ERP Protheus da TOTVS e é utilizada para invoice de serviç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 ELA 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 ELA, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | ELA |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | ELA990 |
| X2_NOME | Invoice de serviço |
| X2_NOMESPA | Invoice de servicio |
| X2_NOMEENG | Service Invoice |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | ELA_FILIAL+ELA_TPPROC+ELA_EXPORT+ELA_LOJEXP+ELA_IMPORT+ELA_LOJIMP+ELA_NRINVO+ELA_PROCES |
| X2_PYME | S |
| X2_MODULO | 85 |
| 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_ | 3897 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ELA | 01 | ELA_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 | - | - | - | - | S | - | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 62837 | 0 |
| ELA | 02 | ELA_TPPROC | C | 1 | 0 | Tipo | Tipo | Type | Tipo de Processo | Tipo de proceso | Process Type | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | S | - | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 62838 | 0 |
| ELA | 03 | ELA_PROCES | C | 30 | 0 | Processo | Proceso | Process | Processo | Proceso | Process | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | S | - | S | V | R | - | - | - | - | - | - | - | - | 074 | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 62839 | 0 |
| ELA | 04 | ELA_EXPORT | C | 6 | 0 | Exportador | Exportador | Exporter | Fornecedor | Proveedor | Supplier | @! | - | x x x x x x x x x x x x x x x x | - | EXP3 | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62840 | 0 |
| ELA | 05 | ELA_LOJEXP | 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 | - | S | - | S | V | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62841 | 0 |
| ELA | 06 | ELA_DSCEXP | C | 50 | 0 | Nome Exp. | Nombre Exp. | Exp. Name | Nome do fornecedor | Nombre del proveedor | Supplier Name | @! | - | x x x x x x x x x x x x x x x x | Posicione("SA2",1,xFilial("SA2")+M->ELA_EXPORT+M->ELA_LOJEXP,"A2_NOME") | - | 1 | x x | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SA2",1,xFilial("SA2")+ELA->ELA_EXPORT+ELA->ELA_LOJEXP,"A2_NOME") | 177 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62842 | 0 |
| ELA | 07 | ELA_IMPORT | C | 6 | 0 | Importador | Importador | Importer | Cliente | Cliente | Client | @! | - | x x x x x x x x x x x x x x x x | - | AVE001 | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62843 | 0 |
| ELA | 08 | ELA_LOJIMP | C | 2 | 0 | Loja | Tienda | Store | Loja do cliente | Tienda del cliente | Client Store | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | S | - | S | V | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62844 | 0 |
| ELA | 09 | ELA_DSCIMP | C | 50 | 0 | Nome Imp. | Nombre Imp. | Imp. Name | Nome do cliente | Nombre del cliente | Client Name | @! | - | x x x x x x x x x x x x x x x x | Posicione("SA1",1,xFilial("SA1")+M->ELA_IMPORT+M->ELA_LOJIMP,"A1_NOME") | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SA1",1,xFilial("SA1")+ELA->ELA_IMPORT+ELA->ELA_LOJIMP,"A1_NOME") | 175 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62845 | 0 |
| ELA | 10 | ELA_NRINVO | C | 20 | 0 | Nro. Invoice | Nr. Invoice | Invoice No. | Nro. Invoice (fatura) | Nr. Invoice (factura) | Invoice No. | @! | IS400Valid("ELA_NRINVO") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62846 | 0 |
| ELA | 11 | ELA_INT | C | 1 | 0 | Integrado | Integrado | Integrated | Processo Integrado? (S/N) | Proceso integrado (S/N) | Process Integrated? (S/N) | - | - | x x x x x x x x x x x x x x x x | "N" | - | 1 | x | - | - | - | - | - | R | - | - | S=SIM;N=NÃO | S=SI;N=NO | S=YES;N=NO | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62847 | 0 |
| ELA | 12 | ELA_ORIGEM | C | 10 | 0 | Origem | Origen | Origin | Origem da integração | Origen de la integracion | Integration Origin | - | - | x x x x x x x x x x x x x x x x | "SIGAESS" | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62848 | 0 |
| ELA | 13 | ELA_DTEMIS | D | 8 | 0 | Data Emissão | Fecha Emisio | Issue Date | Data de emissão da invoic | Fecha de emision invoice | Invoice Issue Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62849 | 0 |
| ELA | 14 | ELA_MOEDA | C | 3 | 0 | Moeda | Moneda | Currency | Moeda | Moneda | Currency | @! | IS400VALID("ELA_MOEDA") | x x x x x x x x x x x x x x x x | - | SYF | 1 | x x | - | S | - | S | - | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62850 | 0 |
| ELA | 15 | ELA_VL_MOE | N | 16 | 2 | Valor Invoic | Valor Invoic | Invoice Valu | Valor na Moeda | Valor en la moneda | Value in Currency | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | S | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 62851 | 0 |
| ELA | 16 | ELA_STTPAG | C | 1 | 0 | Status baixa | Estatus baja | Write-off St | Status Pagamento | Estatus pago | Payment Status | - | - | x x x x x x x x x x x x x x x x | IS400Get("ELA_STTPAG") | - | 1 | x | - | - | - | S | V | R | - | - | 1=Em aberto;2=Parcialmente liquidado;3=Liquidado | 1=Pendiente;2=Parcialmente liquidado;3=Liquidado | 1=Outstanding;2=Partially Settled;3=Settled | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62852 | 0 |
| ELA | 17 | ELA_SLDPAG | N | 16 | 2 | Saldo a baix | Sld por baja | Sld Discount | Saldo a baixar da invoice | Saldo por bajar invoice | Sld to Discount Invoice | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62853 | 0 |
| ELA | 18 | ELA_VLCAMB | N | 16 | 2 | Valor Cambio | Valor Cambio | Exchange | Valor p/ contrato de câmb | Valor p/ contrato de camb | Value Exchange Contract | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62854 | 0 |
| ELA | 19 | ELA_VLEXT | N | 16 | 2 | Valor Exteri | Valor Exteri | Value Abroad | Valor movimentado no exte | Valor movimentado exterio | Value Movement Abroad | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62855 | 0 |
| ELA | 20 | ELA_TX_MOE | N | 15 | 8 | Taxa Emissão | Tasa Emision | Issue Rate | Cotação da moeda na data | Cotiz. moneda en la fecha | Currency Quotation on Dt. | @E 999,999.99999999 | IS400Valid("ELA_TX_MOE") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62856 | 0 |
| ELA | 21 | ELA_VL_REA | N | 16 | 2 | Valor Reais | Valor reales | Value Reais | Valor em Reais | Valor en reales | Value in Reais | @E 9,999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62857 | 0 |
| ELA | 22 | ELA_MOEPD | C | 3 | 0 | Moeda Ped. | Moneda Ped. | Proc. Curren | Moeda do Processo | Moneda del proceso | Process Currency | @! | - | x x x x x x x x x x x x x x x x | Posicione("EJW",1,xFIlial("EJW")+cTpInvoice+M->ELA_PROCES,"EJW_MOEDA") | - | 1 | x | - | - | - | S | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62858 | 0 |
| ELA | 23 | ELA_TX_PED | N | 15 | 8 | Taxa Moe. Pe | Tasa Mone.Pr | P.Curr.Rate | Cotação da moeda do proce | Cotiz. moneda del proceso | Proc. currency quotation | @E 999,999.99999999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | IS400Gat() .OR. M->ELA_MOEDA <> M->ELA_MOEPD | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62859 | 0 |
| ELA | 24 | ELA_PARIDA | N | 15 | 8 | Paridade | Paridad | Parity | Paridade entre as moedas | Paridad entre las monedas | Parity Betweek Currencies | @E 999,999.99999999 | - | x x x x x x x x x x x x x x x x | 1 | - | 1 | x | - | - | - | S | V | R | - | - | - | - | - | - | IS400Gat() .OR. M->ELA_MOEDA <> M->ELA_MOEPD | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62860 | 0 |
| ELA | 25 | ELA_CONDPG | C | 3 | 0 | Cond. Pag. | Cond. Pago | Payment Term | Condição de Pagamento | Condicion de pago | Payment Term | - | Vazio() .OR. EXISTCPO("SE4",M->ELA_CONDPG) | x x x x x x x x x x x x x x x x | - | SE4 | 1 | x | - | S | - | S | - | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62861 | 0 |
| ELA | 26 | ELA_DSCCON | C | 15 | 0 | Desc. Pag. | Desc. Pago | Paym. Desc. | Descricao da Cond. Pagto | Descripcion Cond. pago | Payment Term Description | - | - | x x x x x x x x x x x x x x x x | Posicione("SE4",1,xFIlial("SE4")+M->ELA_CONDPG,"E4_DESCRI") | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | IS400Gat() .OR. M->ELA_MOEDA <> M->ELA_MOEPD | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62862 | 0 |
| ELA | 27 | ELA_COMPL | M | 60 | 0 | Observações | Observacione | Notes | Dados complementares | Datos complementarios | Complementary Data | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62863 | 0 |
| ELA | 28 | ELA_DOC | C | 9 | 0 | Nota Fiscal | Factura | Invoice | Nota Fiscal | Factura | Invoice | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 018 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62864 | 0 |
| ELA | 29 | ELA_SERIE | C | 3 | 0 | Serie | Serie | Series | Serie | Serie | Series | !!! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 094 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62865 | 0 |
| ELA | 30 | ELA_MODELO | C | 10 | 0 | Modelo NF | Modelo Fact | Inv. Curren. | Modelo NF | Modelo Factura | Inv. Currency | @! | - | x x x x x x x x x x x x x x x x | - | 42 | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62866 | 0 |
| ELA | 31 | ELA_IMPINV | C | 6 | 0 | Imp. Invoice | Imp. Invoice | Invoice tax | Imp. Invoice | Imp. Invoice | Imp. Invoice | @! | IS400Valid("ELA_IMPINV") | x x x x x x x x x x x x x x x x | - | AVE001 | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | INCLUI | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62867 | 0 |
| ELA | 32 | ELA_ILJINV | C | 2 | 0 | Loja Imp Inv | Tien Imp Inv | Store Imp In | Loja Importador Invoice | Tienda Importador Invoice | Importer Store Invoice | @! | IS400Valid("ELA_ILJINV") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | INCLUI | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62868 | 0 |
| ELA | 33 | ELA_IDSCIN | C | 50 | 0 | Nome Imp Inv | Nomb Imp Inv | Name Imp Inv | Nome Importador Invoice | Nombre Importador Invoice | Importer Name Invoice | @! | - | x x x x x x x x x x x x x x x x | Posicione("SA1",1,xFilial("SA1")+M->ELA_IMPINV+M->ELA_ILJINV,"A1_NOME") | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SA1",1,xFilial("SA1")+ELA->ELA_IMPINV+ELA->ELA_ILJINV,"A1_NOME") | 175 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62869 | 0 |
| ELA | 34 | ELA_EXPINV | C | 6 | 0 | Exp. Invoice | Exp. Invoice | Inv Supp | Fornecedor Invoice | Proveedor Invoice | Supplier Invoice | @! | IS400Valid("ELA_EXPINV") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | INCLUI | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62870 | 0 |
| ELA | 35 | ELA_ELJINV | C | 2 | 0 | Loja Exp Inv | Tien Exp Inv | Store Exp In | Loja Exportador Invoice | Tienda Exportador Invoice | Exporter Store Invoice | @! | IS400Valid("ELA_ELJINV") | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62871 | 0 |
| ELA | 36 | ELA_EDSCIN | C | 50 | 0 | Nome Exp Inv | Nom Exp Inv | Name Exp Inv | Nome Exportador Invoice | Nombre Exportador Invoice | Exporter Name Invoice | @! | - | x x x x x x x x x x x x x x x x | Posicione("SA2",1,xFilial("SA2")+M->ELA_EXPINV+M->ELA_ELJINV,"A2_NOME") | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | Posicione("SA2",1,xFilial("SA2")+ELA->ELA_EXPINV+ELA->ELA_ELJINV,"A2_NOME") | 177 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 62872 | 0 |
| ELA | 37 | ELA_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 | - | - | - | 62873 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ELA | 1 | ELA_FILIAL+ELA_TPPROC+ELA_EXPORT+ELA_LOJEXP+ELA_IMPORT+ELA_LOJIMP+ELA_NRINVO+ELA_PROCES | Tipo + Exportador + Loja + Importador + Loja + Nro. Invoice + Processo | Tipo + Exportador + Tienda + Importador + Tienda + Nr. Invoice + Proce | Type + Exporter + Store + Importer + Store + Invoice No. + Process | S | - | - | S | 2 | 3 | - | 9331 | 0 |
| ELA | 2 | ELA_FILIAL+ELA_TPPROC+ELA_IMPORT+ELA_LOJIMP+ELA_NRINVO+ELA_PROCES | Tipo + Importador + Loja + Nro. Invoice + Processo | Tipo + Importador + Tienda + Nr. Invoice + Proceso | Type + Importer + Store + Invoice No. + Process | S | - | - | S | 2 | 3 | - | 9332 | 0 |
| ELA | 3 | ELA_FILIAL+ELA_TPPROC+ELA_EXPORT+ELA_LOJEXP+ELA_NRINVO+ELA_PROCES | Tipo + Exportador + Loja + Nro. Invoice + Processo | Tipo + Exportador + Tienda + Nr. Invoice + Proceso | Type + Exporter + Store + Invoice No. + Process | S | - | - | S | 2 | 3 | - | 9333 | 0 |
| ELA | 4 | ELA_FILIAL+ELA_TPPROC+ELA_PROCES+ELA_NRINVO | Tipo + Processo + Nro. Invoice | Tipo + Proceso + Nr. Invoice | Type + Process + Invoice No. | S | - | - | S | 2 | 3 | - | 9334 | 0 |
Ela é utilizada para invoice de serviç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.