Tabela D3B

Cargas X Compartimentos
13camposNome físicoD3B010(empresa 01)

Campos da tabela D3B

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

13
CampoDescrição
D3B_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
D3B_CDINST
Caractere (C)(7)
Cod. Ins. AR
Máscara:
@!
Contexto:
Real
D3B_CDSIMP
Caractere (C)(10)
SIMP ARI
Máscara:
@!
Contexto:
Real
D3B_CODCAR
Caractere (C)(6)
Cod. Carga
Máscara:
@!
Contexto:
Real
D3B_CODPRO
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
D3B_LACANT
Caractere (C)(100)
Lacres Ant.
Máscara:
@!
Contexto:
Real
D3B_LACRES
Caractere (C)(100)
Lacres
Máscara:
@!
Contexto:
Real
D3B_MOTINU
Caractere (C)(2)
Motivo Inut.
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("SX5","EV"+M->D3B_MOTINU)
D3B_NROCOM
Caractere (C)(1)
Nro.Compart
Máscara:
@!
Contexto:
Real
D3B_NROENV
Caractere (C)(8)
Nro Envelope
Máscara:
@!
Contexto:
Real
D3B_PEDIDO
Caractere (C)(6)
Pedido
Máscara:
@!
Contexto:
Real
D3B_QTDPED
Numérico (N)(8,2)
Qtd. Pedido
Máscara:
@E 99,999.99
Contexto:
Real
D3B_SEQCAR
Caractere (C)(2)
Seq. Carga
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela D3B

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
  D3B.D3B_FILIAL,
  D3B.D3B_CDINST,
  D3B.D3B_CDSIMP,
  D3B.D3B_CODCAR,
  D3B.D3B_CODPRO,
  D3B.D3B_LACANT,
  D3B.D3B_LACRES,
  D3B.D3B_MOTINU
FROM D3B010 D3B
WHERE D3B.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.