Tabela V0B

Fechamento Periódicos
25camposNome físicoV0B010(empresa 01)

Campos da tabela V0B

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

25
CampoDescrição
V0B_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
V0B_ID
Caractere (C)(36)
ID
Máscara:
@!
Contexto:
Real
V0B_VERSAO
Caractere (C)(14)
Id Ver Reg
Máscara:
@!
Contexto:
Real
V0B_PERAPU
Caractere (C)(6)
Per Apuracao
Máscara:
@R 99-9999
Contexto:
Real
Validação:
XFUNVldUni("V0B",2,M->V0B_PERAPU+ '1')
V0B_NOMCNT
Caractere (C)(70)
Nome
Máscara:
@!
Contexto:
Real
V0B_CPFCNT
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
XFUNVldPJF(,1,.F.)
V0B_DDDFON
Caractere (C)(3)
DDD Tel
Máscara:
@!
Contexto:
Real
V0B_FONCNT
Caractere (C)(10)
Telefone
Máscara:
@!
Contexto:
Real
V0B_EMAIL
Caractere (C)(60)
Email
Máscara:
@!
Contexto:
Real
V0B_SERTOM
Caractere (C)(1)
Serv Tomados
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_SERPRE
Caractere (C)(1)
Serv Prest
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_ASSDES
Caractere (C)(1)
Assoc Desp
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_ASSREP
Caractere (C)(1)
Ass Des Rep
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_COMPRO
Caractere (C)(1)
Comerc Prod
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_CPRB
Caractere (C)(1)
CPRB
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_PGTOS
Caractere (C)(1)
Pgtos Divers
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_COMMVT
Caractere (C)(7)
Comp Sem Mvt
Máscara:
@!
Contexto:
Real
V0B_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
V0B_STATUS
Caractere (C)(1)
Status Reg
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 0123467")
7 valores possíveis
  • 0Reg Valido
  • 1Reg Invalido
  • 2Reg Trans
  • 3Reg Trans Inconsistencia
  • 4Reg Trans Sucesso
  • 6Exclusao Trans
  • 7Exclusao Trans Sucesso
V0B_PROTUL
Caractere (C)(52)
Recibo
Máscara:
@!
Contexto:
Real
V0B_PROTPN
Caractere (C)(52)
Recibo Ant
Máscara:
@!
Contexto:
Real
V0B_EVENTO
Caractere (C)(1)
Id Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
V0B_ATIVO
Caractere (C)(1)
Reg Ativo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
V0B_PROCID
Caractere (C)(6)
Id Processo
Máscara:
@!
Contexto:
Real
V0B_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real

SELECT de exemplo da tabela V0B

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
  V0B.V0B_FILIAL,
  V0B.V0B_ID,
  V0B.V0B_VERSAO,
  V0B.V0B_PERAPU,
  V0B.V0B_NOMCNT,
  V0B.V0B_CPFCNT,
  V0B.V0B_DDDFON,
  V0B.V0B_FONCNT
FROM V0B010 V0B
WHERE V0B.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.