Tabela D00

Enderecamento de Carga/Pedido
29camposNome físicoD00010(empresa 01)

Campos da tabela D00

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

29
CampoDescrição
D00_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
D00_CARGA
Caractere (C)(6)
Carga
Máscara:
@!
Contexto:
Real
D00_PEDIDO
Caractere (C)(6)
Pedido
Máscara:
@!
Contexto:
Real
D00_CODEND
Caractere (C)(15)
Endereco
Máscara:
@!
Contexto:
Real
D00_OPEEND
Caractere (C)(6)
Operador End
Máscara:
@!
Contexto:
Real
D00_NOPEND
Caractere (C)(30)
Operador End
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D00_DATEND
Data (D)(8)
Dt. Enderec.
Contexto:
Real
D00_HOREND
Caractere (C)(8)
Hr. Enderec.
Máscara:
99:99:99
Contexto:
Real
D00_CODDOC
Caractere (C)(15)
Doca
Máscara:
@!
Contexto:
Real
D00_OPEDOC
Caractere (C)(6)
Op. Transf.
Máscara:
@!
Contexto:
Real
D00_NOPETR
Caractere (C)(30)
Op. Transf.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D00_DATDOC
Data (D)(8)
Dt. Transf.
Contexto:
Real
D00_HORDOC
Caractere (C)(8)
Hr. Transf.
Máscara:
99:99:99
Contexto:
Real
D00_OPEEMB
Caractere (C)(6)
Op. Embarque
Máscara:
@!
Contexto:
Real
D00_NOPEMB
Caractere (C)(30)
Op. Embarque
Máscara:
@!
Contexto:
Virtual (não existe no banco)
D00_DATEMB
Data (D)(8)
Dt. Embarque
Contexto:
Real
D00_HOREMB
Caractere (C)(8)
Hr. Embarque
Máscara:
99:99:99
Contexto:
Real
D00_TIPEMB
Caractere (C)(1)
Tipo Emb.
D00_DTENDF
Data (D)(8)
Dt.End.Fim
Contexto:
Real
D00_HRENDF
Caractere (C)(8)
Hora End.Fim
Máscara:
99:99:99
Contexto:
Real
D00_DTDOCF
Data (D)(8)
Dt.Trans.F
Contexto:
Real
D00_HRDOCF
Caractere (C)(8)
Hora Trans.F
Máscara:
99:99:99
Contexto:
Real
D00_DTEMBF
Data (D)(8)
Dt.Emb.Fim
Contexto:
Real
D00_HREMBF
Caractere (C)(8)
Hora Emb.Fim
Máscara:
99:99:99
Contexto:
Real
D00_CODVOL
Caractere (C)(10)
Cod Volume
Máscara:
@!
Contexto:
Real
D00_TPEND
Caractere (C)(9)
Tempo Ender.
Máscara:
999:99:99
Contexto:
Virtual (não existe no banco)
D00_TPDOC
Caractere (C)(9)
Tempo Transf
Máscara:
999:99:99
Contexto:
Virtual (não existe no banco)
D00_TPEMB
Caractere (C)(9)
Tempo Embarq
Máscara:
999:99:99
Contexto:
Virtual (não existe no banco)
D00_LIBEST
Caractere (C)(1)
Lib. Estorno
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela D00

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
  D00.D00_FILIAL,
  D00.D00_CARGA,
  D00.D00_PEDIDO,
  D00.D00_CODEND,
  D00.D00_OPEEND,
  D00.D00_DATEND,
  D00.D00_HOREND,
  D00.D00_CODDOC
FROM D00010 D00
WHERE D00.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.