Tabela FOP

CADASTRO CONFIGURAÇÃO CNAB
23camposNome físicoFOP010(empresa 01)

Campos da tabela FOP

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

23
CampoDescrição
FOP_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
FOP_CODIGO
Caractere (C)(6)
Codigo
Máscara:
@!
Contexto:
Real
FOP_IDELIN
Caractere (C)(1)
Identif Linh
Máscara:
@!
Contexto:
Real
FOP_HEADET
Caractere (C)(1)
Head Detal
Máscara:
@!
Contexto:
Real
FOP_CHALIN
Caractere (C)(1)
Chave Lin
Máscara:
@!
Contexto:
Real
FOP_IDESEG
Caractere (C)(1)
Identi Segui
Máscara:
@!
Contexto:
Real
FOP_BANCO
Caractere (C)(3)
Banco
Máscara:
@!
Contexto:
Real
FOP_DESSEG
Caractere (C)(30)
Desc Segment
Máscara:
@!
Contexto:
Real
FOP_POSINI
Caractere (C)(3)
Pos. Inicial
Máscara:
@!
Contexto:
Real
FOP_POSFIM
Caractere (C)(3)
Pos. Final
Máscara:
@!
Contexto:
Real
FOP_DECIMA
Caractere (C)(1)
Decimal
Máscara:
@!
Contexto:
Real
FOP_DESMOV
Caractere (C)(40)
Desc.Movimen
Máscara:
@!
Contexto:
Real
FOP_CONARQ
Caractere (C)(135)
Cont Arquivo
Máscara:
@!
Contexto:
Real
FOP_VERARQ
Caractere (C)(8)
Versao Arqui
Máscara:
@!
Contexto:
Real
FOP_BLOQUE
Caractere (C)(1)
Bloqueado
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
FOP_EDITAD
Caractere (C)(1)
Editado
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
FOP_DTGRAV
Data (D)(8)
Data Gravaca
Contexto:
Real
FOP_PAGREC
Caractere (C)(3)
Pagar Recebe
Máscara:
@!
Contexto:
Real
FOP_REMRET
Caractere (C)(3)
Rem ou Ret
Máscara:
@!
Contexto:
Real
FOP_SEQUEN
Caractere (C)(3)
Sequencia
Máscara:
@!
Contexto:
Real
FOP_CTREDI
Caractere (C)(1)
Ctr Edicao
Máscara:
@!
Contexto:
Real
FOP_CTDEDI
Caractere (C)(135)
Cont. Edicao
Máscara:
@!
Contexto:
Real
FOP_NEWVLR
Caractere (C)(135)
Novo Valor
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela FOP

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
  FOP.FOP_FILIAL,
  FOP.FOP_CODIGO,
  FOP.FOP_IDELIN,
  FOP.FOP_HEADET,
  FOP.FOP_CHALIN,
  FOP.FOP_IDESEG,
  FOP.FOP_BANCO,
  FOP.FOP_DESSEG
FROM FOP010 FOP
WHERE FOP.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.