Tabela D0M

ITENS PLANO DIST. CROSSDOCKING
18camposNome físicoD0M010(empresa 01)

Campos da tabela D0M

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

18
CampoDescrição
D0M_FILIAL
Caractere (C)(2)
Filial
D0M_CODPLN
Caractere (C)(6)
Plano Distr.
Máscara:
999999
Contexto:
Real
D0M_ITEM
Caractere (C)(2)
Item
Máscara:
@!
Contexto:
Real
D0M_CLIENT
Caractere (C)(6)
Cliente
Máscara:
@!
Contexto:
Real
Consulta F3:
SA1
Validação:
ExistCpo("SA1")
D0M_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
D0M_LOCAL
Caractere (C)(2)
Armazem
Máscara:
@!
Contexto:
Real
Consulta F3:
NNR
Validação:
ExistCpo("NNR")
D0M_PRODUT
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
Consulta F3:
SB5
Validação:
ExistCpo("SB1") .And. ExistCpo("SB5")
D0M_DPROD
Caractere (C)(40)
Desc. Prod.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D0M_LOTECT
Caractere (C)(10)
Lote
Contexto:
Real
D0M_NUMLOT
Caractere (C)(6)
Sub-lote
Máscara:
@!
Contexto:
Real
D0M_DATENT
Data (D)(8)
Data Entrega
Contexto:
Real
D0M_PEDCOM
Caractere (C)(6)
Ped. Compra
Máscara:
@!
Contexto:
Real
Consulta F3:
SC7WMS
D0M_ITPC
Caractere (C)(4)
Item PC
Máscara:
@!
Contexto:
Real
D0M_QTDDEM
Numérico (N)(11,2)
Qtd. Demanda
Máscara:
@E 99,999,999.99
Contexto:
Real
D0M_QTDDE2
Numérico (N)(11,2)
Qt. Dem. 2UM
Máscara:
@E 99,999,999.99
Contexto:
Real
D0M_QTDDIS
Numérico (N)(11,2)
Qtd. Distr.
Máscara:
@E 99,999,999.99
Contexto:
Real
D0M_QTDDI2
Numérico (N)(11,2)
Qtd Dis. 2UM
Máscara:
@E 99,999,999.99
Contexto:
Real
D0M_FILPED
Caractere (C)(2)
Fil.Ped.Com.
Contexto:
Real

SELECT de exemplo da tabela D0M

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
  D0M.D0M_FILIAL,
  D0M.D0M_CODPLN,
  D0M.D0M_ITEM,
  D0M.D0M_CLIENT,
  D0M.D0M_LOJA,
  D0M.D0M_LOCAL,
  D0M.D0M_PRODUT,
  D0M.D0M_LOTECT
FROM D0M010 D0M
WHERE D0M.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.