Tabela DL0

Percurso da Viagem
8camposNome físicoDL0010(empresa 01)

Campos da tabela DL0

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

CampoDescrição
DL0_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
DL0_PERCUR
Caractere (C)(9)
Cod. Percur.
Máscara:
@!
Contexto:
Real
DL0_FILORI
Caractere (C)(2)
Fil. Ori. Vg
Contexto:
Real
DL0_VIAGEM
Caractere (C)(6)
Viagem
Contexto:
Real
DL0_USRINC
Caractere (C)(6)
Cod. Usuario
Máscara:
@!
Contexto:
Real
DL0_FILINC
Caractere (C)(2)
Fil. Inclus.
Contexto:
Real
DL0_DATINC
Data (D)(8)
Data Inclus
Contexto:
Real
DL0_HORINC
Caractere (C)(5)
Hora Inclus.
Máscara:
99:99
Contexto:
Real

SELECT de exemplo da tabela DL0

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
  DL0.DL0_FILIAL,
  DL0.DL0_PERCUR,
  DL0.DL0_FILORI,
  DL0.DL0_VIAGEM,
  DL0.DL0_USRINC,
  DL0.DL0_FILINC,
  DL0.DL0_DATINC,
  DL0.DL0_HORINC
FROM DL0010 DL0
WHERE DL0.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.