Tabela FV2

Principal com Orçamento
8camposNome físicoFV2010(empresa 01)

Campos da tabela FV2

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

CampoDescrição
FV2_FILIAL
Caractere (C)(2)
Filial
FV2_CODPRO
Caractere (C)(6)
ID Processo
Máscara:
@!
Consulta F3:
FV0
FV2_ITEM
Caractere (C)(4)
Item
Máscara:
@!
Contexto:
Real
FV2_SITUAC
Caractere (C)(6)
Situacao
Máscara:
@!
Contexto:
Real
Consulta F3:
FVJ
Validação:
ExistCpo("FVJ")
FV2_NSITUA
Caractere (C)(100)
Desc.Situa
Máscara:
@!
Contexto:
Virtual (não existe no banco)
FV2_UGEMPE
Caractere (C)(6)
UG Empenho
Máscara:
@!
Contexto:
Real
Consulta F3:
CPA
Validação:
ExistCpo("CPA")
FV2_NUGEMP
Caractere (C)(30)
Desc. UG Emp
Máscara:
@!
Contexto:
Virtual (não existe no banco)
FV2_CONTRA
Caractere (C)(1)
Contrato?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela FV2

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
  FV2.FV2_FILIAL,
  FV2.FV2_CODPRO,
  FV2.FV2_ITEM,
  FV2.FV2_SITUAC,
  FV2.FV2_UGEMPE,
  FV2.FV2_CONTRA
FROM FV2010 FV2
WHERE FV2.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.