Tabela FK5

Movimentos Bancários
35camposNome físicoFK5010(empresa 01)

Campos da tabela FK5

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

35
CampoDescrição
FK5_FILIAL
Caractere (C)(2)
Filial
FK5_IDMOV
Caractere (C)(32)
Id. Mov.
Máscara:
@!
Contexto:
Real
FK5_DATA
Data (D)(8)
Data Mov.
Contexto:
Real
FK5_VALOR
Numérico (N)(16,2)
Valor Mov.
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
Validação:
Positivo()
FK5_MOEDA
Caractere (C)(2)
Moeda
Máscara:
@!
Contexto:
Real
Validação:
NaoVazio()
FK5_NATURE
Caractere (C)(10)
Natureza
Máscara:
@!
Contexto:
Real
Consulta F3:
SED
Validação:
ExistCpo("SED") .AND. FinVldNat( .F., FK5_NATURE, 3 )
FK5_RECPAG
Caractere (C)(1)
Rec/Pag
Máscara:
@!
Contexto:
Real
FK5_TPDOC
Caractere (C)(2)
Tipo do Doc.
Máscara:
@!
Contexto:
Real
Consulta F3:
FKB
Validação:
ExistCpo("FKB")
FK5_FILORI
Caractere (C)(2)
Filial Orig.
Contexto:
Real
FK5_ORIGEM
Caractere (C)(8)
Origem
Máscara:
@!
Contexto:
Real
FK5_BANCO
Caractere (C)(3)
Banco
Máscara:
@!
Contexto:
Real
Consulta F3:
SA6
Validação:
ExistCpo("SA6",,,,,.F.)
FK5_AGENCI
Caractere (C)(5)
Agencia
Máscara:
@!
Contexto:
Real
FK5_CONTA
Caractere (C)(10)
Conta Banco
Máscara:
@!
Contexto:
Real
FK5_NUMCH
Caractere (C)(15)
Num Cheque
Máscara:
@!
Contexto:
Real
FK5_DOC
Caractere (C)(50)
Documento
Máscara:
@!
Contexto:
Real
FK5_HISTOR
Caractere (C)(40)
Historico
Máscara:
@!
Contexto:
Real
FK5_VLMOE2
Numérico (N)(16,2)
Vlr. Moeda 2
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
FK5_DTCONC
Data (D)(8)
Dt. Conc.
Contexto:
Real
FK5_DTDISP
Data (D)(8)
Data Dispon.
Contexto:
Real
FK5_MODSPB
Caractere (C)(1)
Modalid. SPB
Contexto:
Real
FK5_SEQCON
Caractere (C)(10)
Seq. Conc.
Máscara:
@!
Contexto:
Real
FK5_TERCEI
Caractere (C)(1)
Doc Terceiro
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
FK5_TPMOV
Caractere (C)(1)
Tipo Movim.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Despesas Bancarias
  • 2Outros
FK5_OK
Caractere (C)(2)
Iden.Selecao
Máscara:
@!
Contexto:
Real
FK5_STATUS
Caractere (C)(1)
Status Orig.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Ativo
  • 2Excluido
FK5_RATEIO
Caractere (C)(1)
Rateio
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
FK5_SEQ
Caractere (C)(2)
Sequencia
Máscara:
@!
Contexto:
Real
FK5_PROTRA
Caractere (C)(20)
Proc. Transf
Máscara:
@!
Contexto:
Real
FK5_CCUSTO
Caractere (C)(9)
C. de Custo
Máscara:
@!
Contexto:
Real
Consulta F3:
CTT
Validação:
Vazio() .or. CTB105CC()
FK5_NUMBOR
Caractere (C)(6)
Num Bordero
Máscara:
@!
Contexto:
Real
FK5_LA
Caractere (C)(1)
Ident. Lanc.
Máscara:
@!
Contexto:
Real
FK5_TXMOED
Numérico (N)(11,2)
Tx moeda Mov
Máscara:
@E 99,999,999.99
Contexto:
Real
Validação:
positivo()
FK5_ORDREC
Caractere (C)(6)
Rec/Ordem
Máscara:
@!
Contexto:
Real
FK5_LOTE
Caractere (C)(4)
Lote
Máscara:
@!
Contexto:
Real
FK5_IDDOC
Caractere (C)(32)
Id. Doc
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela FK5

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
  FK5.FK5_FILIAL,
  FK5.FK5_IDMOV,
  FK5.FK5_DATA,
  FK5.FK5_VALOR,
  FK5.FK5_MOEDA,
  FK5.FK5_NATURE,
  FK5.FK5_RECPAG,
  FK5.FK5_TPDOC
FROM FK5010 FK5
WHERE FK5.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.