Tabela VDD

Pedido de Transferencia
18camposNome físicoVDD010(empresa 01)

Campos da tabela VDD

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

18
CampoDescrição
VDD_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
VDD_CODIGO
Caractere (C)(6)
Codigo
Máscara:
@!
Contexto:
Real
Validação:
ExistChav("VDD",M->VDD_CODIGO,1)
VDD_FILORC
Caractere (C)(2)
Fil.Orcamen.
Contexto:
Real
Consulta F3:
SM0
Validação:
!Empty(FWFilialName(M->VDD_FILORC))
VDD_NUMORC
Caractere (C)(8)
Nro Orcam/o
Máscara:
@!
Contexto:
Real
VDD_GRUPO
Caractere (C)(4)
Grupo
Máscara:
@!
Contexto:
Real
VDD_CODITE
Caractere (C)(27)
Cod Item
Máscara:
@!
Contexto:
Real
VDD_QUANT
Numérico (N)(11,2)
Quantidade
Máscara:
@E 99,999,999.99
Contexto:
Real
VDD_FILPED
Caractere (C)(2)
Fil.Pedido
Contexto:
Real
Consulta F3:
SM0
Validação:
!Empty(FWFilialName(M->VDD_FILPED))
VDD_NUMNFI
Caractere (C)(9)
Nro NFiscal
Máscara:
@!
Contexto:
Real
VDD_SERNFI
Caractere (C)(3)
Serie NFisc
Máscara:
!!!
Contexto:
Real
VDD_CODFOR
Caractere (C)(6)
Fornecedor
Máscara:
@!
Contexto:
Real
VDD_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
VDD_MOTIVO
Caractere (C)(250)
Motivo Rej
Máscara:
@!
Contexto:
Real
VDD_ORCFOR
Caractere (C)(8)
Nro Orc.Forn
Máscara:
@!
Contexto:
Real
VDD_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
VDD_SDOC
Caractere (C)(3)
Serie Doc.
Máscara:
!!!
Contexto:
Real
VDD_TIPTRA
Caractere (C)(1)
Tipo Transf.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("0123")
4 valores possíveis
  • 0Avulsa
  • 1Reposicao
  • 2Devolucao
  • 3Garantia
VDD_VENTRA
Caractere (C)(6)
Vend.Transf.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela VDD

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
  VDD.VDD_FILIAL,
  VDD.VDD_CODIGO,
  VDD.VDD_FILORC,
  VDD.VDD_NUMORC,
  VDD.VDD_GRUPO,
  VDD.VDD_CODITE,
  VDD.VDD_QUANT,
  VDD.VDD_FILPED
FROM VDD010 VDD
WHERE VDD.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.