Tabela D12

Movimentos Serviços WMS
82camposNome físicoD12010(empresa 01)

Campos da tabela D12

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

82
CampoDescrição
D12_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
D12_PRODUT
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
Consulta F3:
SB1
Validação:
ExistCpo("SB1")
D12_DPROD
Caractere (C)(30)
Des. Produto
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_LOTECT
Caractere (C)(10)
Lote
Contexto:
Real
D12_NUMLOT
Caractere (C)(10)
Sub-Lote
Máscara:
@!
Contexto:
Real
D12_NUMSER
Caractere (C)(20)
Num Serie
Máscara:
@!
Contexto:
Real
D12_CODVOL
Caractere (C)(6)
Cod. Volume
Máscara:
@!
Contexto:
Real
D12_IDVOLU
Caractere (C)(6)
Id Volume
Máscara:
@!
Contexto:
Real
D12_IDUNIT
Caractere (C)(6)
Id Unitiz
Máscara:
@!
Contexto:
Real
D12_DOC
Caractere (C)(9)
Documento
Máscara:
@!
Contexto:
Real
D12_SDOC
Caractere (C)(3)
Serie Docto
Máscara:
!!!
Contexto:
Real
D12_CLIFOR
Caractere (C)(6)
Cod Cli/For
Máscara:
@!
Contexto:
Real
D12_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
D12_SERIE
Caractere (C)(3)
Id Controle
Máscara:
@!
Contexto:
Real
D12_CARGA
Caractere (C)(6)
Carga
Máscara:
@!
Contexto:
Real
D12_STATUS
Caractere (C)(1)
Status RF
Máscara:
@!
Contexto:
Real
Validação:
Pertence("01234")
5 valores possíveis
  • 0Estornada
  • 1Executada
  • 2Interrompida
  • 3Em Execucao
  • 4A Executar
D12_DTGERA
Data (D)(8)
Dt Ger Movto
Contexto:
Real
D12_HRGERA
Caractere (C)(8)
Hr Ger Movto
Máscara:
99:99:99
Contexto:
Real
D12_SEQPRI
Caractere (C)(6)
Seq. Exec
Máscara:
@!
Contexto:
Real
D12_PRIORI
Caractere (C)(45)
Prioridade
Máscara:
@!
Contexto:
Real
D12_SERVIC
Caractere (C)(3)
Cod. Servico
Máscara:
@!
Contexto:
Real
Consulta F3:
DC5
Validação:
ExistCpo("DC5")
D12_DESSER
Caractere (C)(55)
Des. Servico
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_TAREFA
Caractere (C)(3)
Cod. Tarefa
Máscara:
@!
Contexto:
Real
Consulta F3:
DC6
Validação:
ExistCpo('DC6')
D12_DESTAR
Caractere (C)(55)
Des. Tarefa
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_ORDTAR
Caractere (C)(2)
Ord. Tarefa
Máscara:
@!
Contexto:
Real
D12_ATIVID
Caractere (C)(3)
Cod. Ativid
Máscara:
@!
Contexto:
Real
D12_DESATI
Caractere (C)(55)
Des. Ativid
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_ORDATI
Caractere (C)(2)
Ord. Ativid
Máscara:
@!
Contexto:
Real
D12_TM
Caractere (C)(3)
TP Movimento
Máscara:
@!
Contexto:
Real
D12_QTDORI
Numérico (N)(12,2)
Qt Origem
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_QTDOR2
Numérico (N)(12,2)
Qt Ori 2UM
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_QTDMOV
Numérico (N)(12,2)
Qt Movimento
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_QTDMO2
Numérico (N)(12,2)
Qt Mov 2UM
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_QTDLID
Numérico (N)(12,2)
Qt Lida
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_QTDLI2
Numérico (N)(12,2)
Qt Lid 2UM
Máscara:
@E 999,999,999.99
Contexto:
Real
D12_LOCORI
Caractere (C)(2)
Armazem Orig
Máscara:
@!
Contexto:
Real
Consulta F3:
NNR
Validação:
ExistCpo("NNR")
D12_ENDORI
Caractere (C)(15)
End. Origem
Máscara:
@!
Contexto:
Real
Consulta F3:
SBE
Validação:
Vazio() .Or. ExistCpo("SBE",M->D12_LOCAL+M->D12_ENDER)
D12_LOCDES
Caractere (C)(2)
Armazem Dest
Máscara:
@!
Contexto:
Real
Consulta F3:
NNR
Validação:
ExistCpo("NNR")
D12_ENDDES
Caractere (C)(15)
End. Destino
Máscara:
@!
Contexto:
Real
Consulta F3:
SBE
Validação:
Vazio() .Or. ExistCpo("SBE",M->D12_LOCAL+M->D12_ENDER)
D12_DATINI
Data (D)(8)
Dt Ini Movto
Contexto:
Real
D12_HORINI
Caractere (C)(8)
Hr Ini Movto
Máscara:
99:99:99
Contexto:
Real
D12_DATFIM
Data (D)(8)
Dt Fim Movto
Contexto:
Real
D12_HORFIM
Caractere (C)(8)
Hr Fim Movto
Máscara:
99:99:99
Contexto:
Real
D12_TMPMOV
Caractere (C)(9)
Tempo Movto
Máscara:
999:99:99
Contexto:
Virtual (não existe no banco)
D12_RHFUNC
Caractere (C)(5)
Funcao RH
Contexto:
Real
D12_RECHUM
Caractere (C)(6)
Rec. Humano
Contexto:
Real
D12_NOMREC
Caractere (C)(30)
Nom. Recurso
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_RECFIS
Caractere (C)(6)
Rec. Fisico
Contexto:
Real
D12_ORIGEM
Caractere (C)(3)
Origem Movto
Máscara:
@!
Contexto:
Real
D12_ANOMAL
Caractere (C)(6)
Cod Anomalia
Máscara:
@!
Contexto:
Real
D12_IDDCF
Caractere (C)(6)
Id DCF
Contexto:
Real
D12_IDMOV
Caractere (C)(6)
Id Movimento
Máscara:
@!
Contexto:
Real
D12_NUMSEQ
Caractere (C)(6)
Sequencial
Contexto:
Real
D12_MAPSEP
Caractere (C)(6)
Map Sep
Máscara:
@!
Contexto:
Real
D12_MAPCON
Caractere (C)(6)
Map Consolid
Máscara:
@!
Contexto:
Real
D12_MAPTIP
Caractere (C)(1)
Tipo Mapa
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Unitario
  • 2Caixa
D12_RECCON
Caractere (C)(6)
Rec. Conf.
Máscara:
@!
Contexto:
Real
D12_RECEMB
Caractere (C)(6)
Rec Embal.
Máscara:
@!
Contexto:
Real
D12_ENDCON
Caractere (C)(15)
End. Conf.
Máscara:
@!
Contexto:
Real
D12_OCORRE
Caractere (C)(4)
Ocorrencia
Máscara:
@!
Validação:
ExistCpo("DCM")
D12_QTDERR
Numérico (N)(10,2)
Qtde Erro
Máscara:
@E 9,999,999.99
Contexto:
Real
D12_DOCOR
Caractere (C)(40)
Des. Ocorren
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D12_IDOPER
Caractere (C)(10)
Id Operacao
Máscara:
@!
Contexto:
Real
D12_SEQCAR
Caractere (C)(2)
Seq. Carga
Máscara:
@!
Contexto:
Real
D12_PRDORI
Caractere (C)(15)
Prd. Origem
Máscara:
@!
Contexto:
Real
D12_SEQUEN
Caractere (C)(2)
Sequen
Máscara:
@!
Contexto:
Real
D12_LIBPED
Caractere (C)(1)
Lib. Pedido
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123456")
D12_RADIOF
Caractere (C)(1)
Radio Freq.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
D12_MNTVOL
Caractere (C)(1)
Mnt. Volume
Máscara:
@!
Contexto:
Real
Validação:
Pertence("012")
3 valores possíveis
  • 0Nao Utiliza
  • 1Durante a Separacao
  • 3Posterior a Separacao
D12_ORDMOV
Caractere (C)(1)
Ordem Mov.
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Primeira Atividade
  • 2Atividade Intermediaria
  • 3Ultima Atividade
D12_ATUEST
Caractere (C)(1)
Atualiz. Est
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
D12_STENDO
Caractere (C)(1)
St. End. Ori
Contexto:
Virtual (não existe no banco)
Validação:
Pertence("123456")
6 valores possíveis
  • 1Desocupado
  • 2Ocupado
  • 3Bloqueado
  • 4Bloqueio Entrada
  • 5Bloqueio Saida
  • 6Bloqueio Inventario
D12_STENDD
Caractere (C)(1)
St. End. Des
Contexto:
Virtual (não existe no banco)
Validação:
Pertence("123456")
6 valores possíveis
  • 1Desocupado
  • 2Ocupado
  • 3Bloqueado
  • 4Bloqueio Entrada
  • 5Bloqueio Saida
  • 6Bloqueio Inventario
D12_CODREC
Caractere (C)(6)
Cod. Receb.
Máscara:
@!
Contexto:
Real
D12_AGLUTI
Caractere (C)(1)
Aglutinado
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
D12_DISSEP
Caractere (C)(1)
Dis Sep
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
D12_NUMERO
Caractere (C)(6)
Numero Ocorr
Máscara:
@!
Contexto:
Real
D12_IMPETI
Caractere (C)(1)
Sol. Imp. Et
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
D12_PRAUTO
Caractere (C)(1)
Per. Re. Aut
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
D12_LOG
Caractere (C)(1)
Gerou Log?
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
D12_BXESTO
Caractere (C)(1)
Bx. Est. Req
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
D12_UNIDES
Caractere (C)(6)
Id Unit Des
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela D12

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
  D12.D12_FILIAL,
  D12.D12_PRODUT,
  D12.D12_LOTECT,
  D12.D12_NUMLOT,
  D12.D12_NUMSER,
  D12.D12_CODVOL,
  D12.D12_IDVOLU,
  D12.D12_IDUNIT
FROM D12010 D12
WHERE D12.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.