Tabela DWP

Histórico Reajuste Tab Frete
15camposNome físicoDWP010(empresa 01)

Campos da tabela DWP

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

15
CampoDescrição
DWP_FILIAL
Caractere (C)(2)
Filial
DWP_TABFRE
Caractere (C)(4)
Tab.Frete
DWP_TIPTAB
Caractere (C)(2)
Tipo
DWP_DATREA
Data (D)(8)
Data Realiz.
DWP_HORREA
Caractere (C)(4)
Hora Realiz.
Máscara:
@R 99:99
DWP_CDRORI
Caractere (C)(6)
Cod.Reg.Ori.
DWP_REGORI
Caractere (C)(30)
Reg.Origem
Contexto:
Virtual (não existe no banco)
DWP_CDRDES
Caractere (C)(6)
Cod.Reg.Des.
DWP_REGDES
Caractere (C)(30)
Reg. Destino
Contexto:
Virtual (não existe no banco)
DWP_PRDDE
Caractere (C)(15)
Produto De
Máscara:
@!
DWP_DPRDDE
Caractere (C)(30)
Des.Prd.De
Contexto:
Virtual (não existe no banco)
DWP_PRDATE
Caractere (C)(15)
Produto Ate
Máscara:
@!
DWP_DPRDAT
Caractere (C)(30)
Des.Prd.Ate
Contexto:
Virtual (não existe no banco)
DWP_NUMIDE
Caractere (C)(6)
Identific.
DWP_USER
Caractere (C)(6)
Usuario

SELECT de exemplo da tabela DWP

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
  DWP.DWP_FILIAL,
  DWP.DWP_TABFRE,
  DWP.DWP_TIPTAB,
  DWP.DWP_DATREA,
  DWP.DWP_HORREA,
  DWP.DWP_CDRORI,
  DWP.DWP_CDRDES,
  DWP.DWP_PRDDE
FROM DWP010 DWP
WHERE DWP.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.