Tabela FKE

Complemento do Imposto
11camposNome físicoFKE010(empresa 01)

Campos da tabela FKE

11 campos no dicionário de dados do TOTVS Protheus.

11
CampoDescrição
FKE_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
FKE_IDFKE
Caractere (C)(6)
Codigo
Máscara:
@!
Contexto:
Real
Validação:
ExistChav("FKE",M->FKE_IDFKE)
Modo de edição (When):
INCLUI
FKE_DESCR
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Real
FKE_TPIMP
Caractere (C)(6)
Tipo Imposto
Máscara:
@!
Contexto:
Real
Consulta F3:
0C
Validação:
ExistCpo("SX5","0C"+M->FKE_TPIMP)
FKE_DEDACR
Caractere (C)(1)
Acao
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Deducao
  • 2Acrescimo
  • 3Informativo
FKE_APLICA
Caractere (C)(1)
Aplicacao
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Base
  • 2Valor
FKE_CARTEI
Caractere (C)(1)
Carteira
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Pagar
  • 2Receber
  • 3Ambas
FKE_CALCUL
Caractere (C)(1)
Calcula por
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Valor
  • 2Percentual
FKE_PERCEN
Numérico (N)(5,2)
Percentual
Máscara:
@E 99.99
Contexto:
Real
Validação:
Iif(FWFldGet("FKE_CALCUL") $ '2' .AND. FWFldGet("FKE_PERCEN")<=0 ,.F.,.T.)
Modo de edição (When):
FWFldGet("FKE_CALCUL") $ '2'
FKE_TPATRB
Caractere (C)(6)
Tipo Acao
Máscara:
@!
Contexto:
Real
Consulta F3:
0D1
Validação:
ExistCpo("SX5","0D"+M->FKE_TPATRB) .and. F985VldATRB()
FKE_DESATR
Caractere (C)(55)
Descr.Compl
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela FKE

No Protheus a tabela física leva o código da empresa (01 → 010) e registros excluídos ficam com D_E_L_E_T_ = '*'.

SQL · SQL Server
SELECT TOP 100
  FKE.FKE_FILIAL,
  FKE.FKE_IDFKE,
  FKE.FKE_DESCR,
  FKE.FKE_TPIMP,
  FKE.FKE_DEDACR,
  FKE.FKE_APLICA,
  FKE.FKE_CARTEI,
  FKE.FKE_CALCUL
FROM FKE010 FKE
WHERE FKE.D_E_L_E_T_ = ' '

Tabelas próximas no índice do Protheus

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.