Tabela DJJ

Documentos do Trecho
11camposNome físicoDJJ010(empresa 01)

Campos da tabela DJJ

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

11
CampoDescrição
DJJ_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
DJJ_FILORI
Caractere (C)(2)
Fil. Ori. Vg
Contexto:
Real
DJJ_VIAGEM
Caractere (C)(6)
Viagem
Contexto:
Real
DJJ_CLIDEV
Caractere (C)(6)
Cli. Devedor
Máscara:
@!
Contexto:
Real
DJJ_LOJDEV
Caractere (C)(2)
Loj. Devedor
Máscara:
@!
Contexto:
Real
DJJ_CLIENT
Caractere (C)(6)
Cliente
Máscara:
@!
Contexto:
Real
DJJ_LOJA
Caractere (C)(2)
Loja
Máscara:
@!
Contexto:
Real
DJJ_SEQEND
Caractere (C)(9)
Seq. End.
Máscara:
@!
Contexto:
Real
DJJ_TABELA
Caractere (C)(3)
Tab. Reg.
Máscara:
@!
Contexto:
Real
DJJ_INDICE
Caractere (C)(1)
Indice Reg.
Máscara:
@!
Contexto:
Real
DJJ_CHAVE
Caractere (C)(254)
Chav. Reg.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela DJJ

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
  DJJ.DJJ_FILIAL,
  DJJ.DJJ_FILORI,
  DJJ.DJJ_VIAGEM,
  DJJ.DJJ_CLIDEV,
  DJJ.DJJ_LOJDEV,
  DJJ.DJJ_CLIENT,
  DJJ.DJJ_LOJA,
  DJJ.DJJ_SEQEND
FROM DJJ010 DJJ
WHERE DJJ.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.