Tabela DVR

Valor Informado x Documento
15camposNome físicoDVR010(empresa 01)

Campos da tabela DVR

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

15
CampoDescrição
DVR_FILIAL
Caractere (C)(2)
Filial
DVR_FILORI
Caractere (C)(2)
Fil.Origem
Contexto:
Real
DVR_LOTNFC
Caractere (C)(6)
No.Lote
Máscara:
@!
Contexto:
Real
DVR_CLIREM
Caractere (C)(6)
Remetente
Máscara:
@!
Contexto:
Real
DVR_LOJREM
Caractere (C)(2)
Loja Rem.
Máscara:
@!
Contexto:
Real
DVR_CLIDES
Caractere (C)(6)
Destinatario
Máscara:
@!
Contexto:
Real
DVR_LOJDES
Caractere (C)(2)
Loja Dest.
Máscara:
@!
Contexto:
Real
DVR_SERVIC
Caractere (C)(3)
Servico
Máscara:
@!
Contexto:
Real
DVR_NUMNFC
Caractere (C)(9)
Doc.Cliente
Máscara:
@!
Contexto:
Real
DVR_SERNFC
Caractere (C)(3)
Serie Dc.Cli
Máscara:
@!
Contexto:
Real
DVR_CODPRO
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
DVR_CODPAS
Caractere (C)(2)
Componente
Máscara:
@!
Contexto:
Real
Consulta F3:
DT3
Validação:
ExistCpo("DT3",M->DVR_CODPAS) .And. TMSA040Vld()
DVR_DESPAS
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
DVR_VALOR
Numérico (N)(14,4)
Qtde
Máscara:
@E 999,999,999.9999
Contexto:
Real
Validação:
positivo()
DVR_CODNEG
Caractere (C)(2)
Cod Negociac
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela DVR

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
  DVR.DVR_FILIAL,
  DVR.DVR_FILORI,
  DVR.DVR_LOTNFC,
  DVR.DVR_CLIREM,
  DVR.DVR_LOJREM,
  DVR.DVR_CLIDES,
  DVR.DVR_LOJDES,
  DVR.DVR_SERVIC
FROM DVR010 DVR
WHERE DVR.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.