Tabela VR0

Arquivo Order JD
18camposNome físicoVR0010(empresa 01)

Campos da tabela VR0

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

18
CampoDescrição
VR0_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
VR0_CODIGO
Caractere (C)(10)
Codigo
Máscara:
@!
Contexto:
Real
VR0_FILDES
Caractere (C)(6)
Fil. Destino
Máscara:
@!
Contexto:
Real
VR0_ARMDES
Caractere (C)(10)
Arm. Dest.
Máscara:
@!
Contexto:
Real
VR0_TIPORD
Caractere (C)(10)
Codigo
Máscara:
@!
Contexto:
Real
VR0_DATA
Data (D)(8)
Data
Contexto:
Real
VR0_HORA
Caractere (C)(8)
Hora
Máscara:
@!
Contexto:
Real
VR0_CLASSF
Caractere (C)(3)
Classific.
Máscara:
@!
Contexto:
Real
VR0_FONTE
Caractere (C)(1)
Fonte
Máscara:
@!
Contexto:
Real
VR0_ORIGID
Caractere (C)(17)
Id Pedido
Máscara:
@!
Contexto:
Real
VR0_PRODUT
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
VR0_QUANT
Numérico (N)(14,2)
Quantidade
Máscara:
@E 99,999,999,999.99
Contexto:
Real
VR0_ORDREF
Caractere (C)(10)
Pedido
Máscara:
@!
Contexto:
Real
VR0_SPCPRG
Caractere (C)(2)
Termo esp.
Máscara:
@!
Contexto:
Real
VR0_SHIPDT
Caractere (C)(10)
Data req.
Máscara:
@!
Contexto:
Real
VR0_ACAO
Caractere (C)(1)
Acao
Máscara:
@!
Contexto:
Real
VR0_CODVQZ
Caractere (C)(10)
Codigo Cabec
Máscara:
@!
Contexto:
Real
VR0_NUMPED
Caractere (C)(6)
Numero Pedid
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela VR0

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
  VR0.VR0_FILIAL,
  VR0.VR0_CODIGO,
  VR0.VR0_FILDES,
  VR0.VR0_ARMDES,
  VR0.VR0_TIPORD,
  VR0.VR0_DATA,
  VR0.VR0_HORA,
  VR0.VR0_CLASSF
FROM VR0010 VR0
WHERE VR0.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.