Tabela FO7

Títulos da Prestação de Contas
14camposNome físicoFO7010(empresa 01)

Campos da tabela FO7

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

14
CampoDescrição
FO7_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
FO7_CODIGO
Caractere (C)(10)
Codigo
Máscara:
@!
Contexto:
Real
FO7_PREFIX
Caractere (C)(3)
Prefixo
Máscara:
@!
Contexto:
Real
FO7_TITULO
Caractere (C)(9)
Titulo
Máscara:
@!
Contexto:
Real
FO7_PARCEL
Caractere (C)(2)
Parcela
Máscara:
@!
Contexto:
Real
FO7_TIPO
Caractere (C)(3)
Tipo
Máscara:
@!
Contexto:
Real
FO7_CLIFOR
Caractere (C)(6)
Cliente/Forn
Máscara:
@!
Contexto:
Real
FO7_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
FO7_NOME
Caractere (C)(50)
Nome
Máscara:
@!
Contexto:
Virtual (não existe no banco)
FO7_DTBAIX
Data (D)(8)
Dt.Baixa
Contexto:
Real
FO7_PRESTA
Caractere (C)(10)
Prest.Contas
Máscara:
@!
Contexto:
Real
FO7_RECPAG
Caractere (C)(1)
RecPag
Máscara:
@!
Contexto:
Real
FO7_TPVIAG
Caractere (C)(1)
Tipo Viagem
Máscara:
@!
Contexto:
Real
FO7_PARTIC
Caractere (C)(6)
Cod. Partic.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela FO7

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
  FO7.FO7_FILIAL,
  FO7.FO7_CODIGO,
  FO7.FO7_PREFIX,
  FO7.FO7_TITULO,
  FO7.FO7_PARCEL,
  FO7.FO7_TIPO,
  FO7.FO7_CLIFOR,
  FO7.FO7_LOJA
FROM FO7010 FO7
WHERE FO7.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.