Item da prestação de contas
A tabela FLE faz parte do sistema ERP Protheus da TOTVS e é utilizada para item da prestação de contas.
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 FLE 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 FLE, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | FLE |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | FLE990 |
| X2_NOME | Item da prestação de contas |
| X2_NOMESPA | Item de prestacion de cuentas |
| X2_NOMEENG | Rendering of Accounts Item |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | - |
| X2_PYME | N |
| X2_MODULO | 6 |
| X2_DISPLAY | - |
| 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_ | 4275 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLE | 01 | FLE_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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68660 | 0 |
| FLE | 02 | FLE_TIPO | C | 1 | 0 | Tipo | Tipo | Type | Tipo da Prest. de Contas | Tipo de prest. de cuentas | Rendering Accounts Type | @! | - | x x x x x x x x x x x x x x x xxx | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68661 | 0 |
| FLE | 03 | FLE_PRESTA | C | 10 | 0 | Pres. Contas | Pres.Cuentas | Rend Account | Prestação de Contas | Prestacion de cuentas | Rendering Accounts | @! | - | x x x x x x x x x x x x x x x xxx | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68662 | 0 |
| FLE | 04 | FLE_PARTIC | C | 6 | 0 | Cod. Partic. | Cod. Partic. | Partic Code | Código do Participante | Codigo del participante | Participant Code | @! | ExistCpo("RD0") | x x x x x x x x x x x x x x x xxx | - | RD0 | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68663 | 0 |
| FLE | 05 | FLE_ITEM | C | 3 | 0 | Item | Item | Item | Item prestação de contas | Item prestacion de cuenta | Rendering Accounts Item | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68664 | 0 |
| FLE | 06 | FLE_DATA | D | 8 | 0 | Data | Fecha | Date | Data da despesa | Fecha del gasto | Expense date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68665 | 0 |
| FLE | 07 | FLE_LOCAL | C | 4 | 0 | Cód.Local | Cod.Local | Location Cod | Código do Local | Codigo del local | Location Code | @! | naovazio() .and. IF(M->FLE_NACION=="1",ExistCpo("SX5","12"+M->FLE_LOCAL),.T.) | x x x x x x x x x x x x x x x x | - | FLELOC | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68666 | 0 |
| FLE | 08 | FLE_DESPES | C | 6 | 0 | Despesa | Gasto | Expense | Código da Despesa | Codigo del gasto | Expense Code | @! | F677VLD_DE() | x x x x x x x x x x x x x x x x | - | FLG | 1 | xxx | - | S | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68667 | 0 |
| FLE | 09 | FLE_DESCRI | C | 40 | 0 | Descrição | Descripcion | Description | Descrição da Despesa | Descripcion del gasto | Expense Description | @! | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,GETADVFVAL("FLG","FLG_DESCRI",XFILIAL("FLG")+FLE->FLE_DESPES,1,""),"") | - | 1 | xx x | - | - | - | - | V | V | - | - | - | - | - | - | - | GETADVFVAL("FLG","FLG_DESCRI",XFILIAL("FLG")+FLE->FLE_DESPES,1,"") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68668 | 0 |
| FLE | 10 | FLE_GRUPO | C | 6 | 0 | Grupo | Grupo | Group | Grupo da Despesa | Grupo del gasto | Expense Group | @! | ExistCpo("FLK") | x x x x x x x x x x x x x x x x | - | FLK | 1 | xx x | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68669 | 0 |
| FLE | 11 | FLE_QUANT | N | 4 | 0 | Quantidade | Cantidad | Quantity | Quantidade da despesa | Cantidad del gasto | Qtty expense | @E 9,999 | Positivo() .And. !Vazio() | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68670 | 0 |
| FLE | 12 | FLE_MOEDA | C | 1 | 0 | Moeda | Moneda | Currency | Moeda | Moneda | Currency | @! | Pertence("1239") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xxx | - | - | - | - | A | R | - | - | 1=Real;2=Dolar;3=Euro;9=Outras | 1=Real;2=Dolar;3=Euro;9=Otras | 1=Real;2=Dollar;3=Euro;9=Others | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68671 | 0 |
| FLE | 13 | FLE_TOTAL | N | 15 | 2 | Valor Total | Valor total | Total Value | Valor Total da Despesa | Valor total del gasto | Total Expense Value | @E 999,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 68672 | 0 |
| FLE | 14 | FLE_TXCONV | N | 15 | 2 | Tx.Conversão | Ts.Convers. | Convers Rate | Taxa de conversão | Tasa de conversion | Conversion rate | @E 999,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | - | A | R | - | - | - | - | - | - | M->FLE_MOEDA == "9" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68673 | 0 |
| FLE | 15 | FLE_VALREE | N | 15 | 2 | Reembolsável | Reembolsable | Reimburs | Valor Reembolsável | Valor reembolsable | Reimburs value | @E 999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68674 | 0 |
| FLE | 16 | FLE_VALNRE | N | 15 | 2 | Não Reembol. | No Reembol. | Not Reimburs | Valor Não Reembolsavel | Valor no reembolsable | Not reimburs value | @E 999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68675 | 0 |
| FLE | 17 | FLE_DESCON | N | 15 | 2 | Desconto | Descuento | Discount | Valor de Desconto | Valor de descuento | Discount Value | @E 999,999,999,999.99 | Positivo() .And. F677VLDESC() | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68676 | 0 |
| FLE | 18 | FLE_DETDES | C | 100 | 0 | Detalhe Desc | Detalle desc | Disc Detail | Detalhe do Desconto | Detalle del descuento | Discount Detail | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68677 | 0 |
| FLE | 19 | FLE_CONTA | C | 20 | 0 | Conta Contab | Cta Contab | Ledger Acc | Conta Contábil | Cuenta contable | Ledger Account | @! | vazio().or. Ctb105Cta() | x x x x x x x x x x x x x x x x x | - | CT1 | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 003 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68678 | 0 |
| FLE | 20 | FLE_VALUNI | N | 15 | 2 | Val. Unit. | Val. Unit. | Unit Value | Valor unitário | Valor unitario | Unit value | @E 999,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68679 | 0 |
| FLE | 21 | FLE_CUSTO | C | 9 | 0 | C.Custo | C.Costo | Cost Center | Centro de Custo | Centro de costo | Cost Center | @! | Vazio() .Or. Ctb105CC() | x x x x x x x x x x x x x x x x x | - | CTT | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68680 | 0 |
| FLE | 22 | FLE_ITECTB | C | 9 | 0 | Item Contab. | Ítem Contab. | Acc Item | Item Contabil | Ítem contable | Accounting Item | @! | Vazio() .Or. Ctb105Item() | x x x x x x x x x x x x x x x x x | - | CTD | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 005 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68681 | 0 |
| FLE | 23 | FLE_CLVL | C | 9 | 0 | Classe Valor | Clase valor | Value Class | Classe de Valor | Clase de valor | Value Class | @! | Vazio() .Or. Ctb105CLVL() | x x x x x x x x x x x x x x x x x | - | CTH | 1 | xx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 006 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68682 | 0 |
| FLE | 24 | FLE_LA | C | 1 | 0 | Ident. Lanc. | Ident. Reg. | Entry ID | Identificador de LA | Identificador de LA | Entry ID | @! | - | x 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 | - | - | - | 68683 | 0 |
| FLE | 25 | FLE_OBS | C | 254 | 0 | Observação | Observación | Note | Observação da despesa | Observación de gastos | Expense Note | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx x | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 68684 | 0 |
| FLE | 26 | FLE_EC05DB | C | 16 | 0 | Ent.Deb. 05 | Ent.Deb. 05 | Ent.Deb. 05 | Ent. Contábil Debito 05 | Ent. Contable Debito 05 | Acc. Entity Debit 05 | @! | CTB105EntC(,M->FLE_EC05DB,,'05') | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177523 | 0 |
| FLE | 27 | FLE_EC05CR | C | 16 | 0 | Ent.Cred. 05 | Ent.Cred. 05 | Cred.Ent. 05 | Ent. Contábil Credito 05 | Ent. Contable Credito 05 | Acc. Entity Credit 05 | @! | CTB105EntC(,M->FLE_EC05CR,,'05') | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177524 | 0 |
| FLE | 28 | FLE_EC06DB | C | 16 | 0 | Ent.Deb. 06 | Ent.Deb. 06 | Ent.Deb. 06 | Ent. Contábil Debito 06 | Ent. Contable Debito 06 | Acc. Entity Debit 06 | @! | CTB105EntC(,M->FLE_EC06DB,,'06') | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177525 | 0 |
| FLE | 29 | FLE_EC06CR | C | 16 | 0 | Ent.Cred. 06 | Ent.Cred. 06 | Cred.Ent. 06 | Ent. Contábil Credito 06 | Ent. Contable Credito 06 | Acc. Entity Credit 06 | @! | CTB105EntC(,M->FLE_EC06CR,,'06') | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177526 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FLE | 1 | FLE_FILIAL+FLE_TIPO+FLE_PRESTA+FLE_PARTIC+FLE_ITEM | Tipo + Pres. Contas + Cod. Partic. + Item | Tipo + Pres.Cuentas + Cod. Partic. + Item | Type + Rend Account + Partic Code + Item | S | - | - | S | 2 | 3 | - | 10105 | 0 |
Ela é utilizada para item da prestação de contas 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
FLE_FILIAL,
FLE_TIPO,
FLE_PRESTA,
FLE_PARTIC,
FLE_ITEM,
FLE_DATA,
FLE_LOCAL,
FLE_DESPES,
FLE_DESCRI,
FLE_GRUPO,
FLE_QUANT,
FLE_MOEDA,
FLE_TOTAL,
FLE_TXCONV,
FLE_VALREE,
FLE_VALNRE,
FLE_DESCON,
FLE_DETDES,
FLE_CONTA,
FLE_VALUNI,
FLE_CUSTO,
FLE_ITECTB,
FLE_CLVL,
FLE_LA,
FLE_OBS,
FLE_EC05DB,
FLE_EC05CR,
FLE_EC06DB,
FLE_EC06CR
FROM FLE
WHERE
D_E_L_E_T_ = ' '
AND FLE_FILIAL = 'VALOR'
AND FLE_TIPO = 'VALOR'
AND FLE_PRESTA = 'VALOR'
AND FLE_PARTIC = 'VALOR'
AND FLE_ITEM = 'VALOR'
AND FLE_DATA BETWEEN '20260801' AND '20260831'
AND FLE_LOCAL = 'VALOR'
AND FLE_DESPES = 'VALOR'
AND FLE_DESCRI = 'VALOR'
AND FLE_GRUPO = 'VALOR'
AND FLE_QUANT = 0
AND FLE_MOEDA = 'VALOR'
AND FLE_TOTAL = 0
AND FLE_TXCONV = 0
AND FLE_VALREE = 0
AND FLE_VALNRE = 0
AND FLE_DESCON = 0
AND FLE_DETDES = 'VALOR'
AND FLE_CONTA = 'VALOR'
AND FLE_VALUNI = 0
AND FLE_CUSTO = 'VALOR'
AND FLE_ITECTB = 'VALOR'
AND FLE_CLVL = 'VALOR'
AND FLE_LA = 'VALOR'
AND FLE_OBS = 'VALOR'
AND FLE_EC05DB = 'VALOR'
AND FLE_EC05CR = 'VALOR'
AND FLE_EC06DB = 'VALOR'
AND FLE_EC06CR = 'VALOR'