Tabela VPM

SERVICOS CORTADOS PELO CLIENTE
11camposNome físicoVPM010(empresa 01)

Campos da tabela VPM

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

11
CampoDescrição
VPM_HORCAN
Numérico (N)(4)
Hr Cancel
Máscara:
@R 99:99
Contexto:
Real
VPM_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
VPM_NUMORC
Caractere (C)(8)
Nro Orcament
Máscara:
@!
Contexto:
Real
VPM_DATCAN
Data (D)(8)
Dt Cancel
Máscara:
@D
Contexto:
Real
VPM_GRUSER
Caractere (C)(2)
Grupo Servic
Máscara:
@!S2
Contexto:
Real
VPM_CODSER
Caractere (C)(15)
Cod Servico
Máscara:
@!S15
Contexto:
Real
VPM_TIPSER
Caractere (C)(3)
Tipo Servico
Máscara:
@!S3
Contexto:
Real
VPM_VALVEN
Numérico (N)(12,2)
Vl da Venda
Máscara:
@E 999,999,999.99
Contexto:
Real
VPM_MOTIVO
Caractere (C)(100)
Motivo
Máscara:
@!
Contexto:
Real
VPM_NOMCLI
Caractere (C)(40)
Nome cliente
Máscara:
@!
Contexto:
Real
VPM_ORDEM
Caractere (C)(3)
Ordem
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela VPM

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
  VPM.VPM_HORCAN,
  VPM.VPM_FILIAL,
  VPM.VPM_NUMORC,
  VPM.VPM_DATCAN,
  VPM.VPM_GRUSER,
  VPM.VPM_CODSER,
  VPM.VPM_TIPSER,
  VPM.VPM_VALVEN
FROM VPM010 VPM
WHERE VPM.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.