Tabela DJS

Base Calc % Componente Frete
10camposNome físicoDJS010(empresa 01)

Campos da tabela DJS

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

10
CampoDescrição
DJS_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
DJS_TABFRE
Caractere (C)(4)
Tabela Frete
Máscara:
@!
Contexto:
Real
DJS_TIPTAB
Caractere (C)(2)
Tipo Tabela
Máscara:
@!
Contexto:
Real
DJS_CDRORI
Caractere (C)(6)
Cod.Reg.Ori.
Máscara:
@!
Contexto:
Real
DJS_CDRDES
Caractere (C)(6)
Cod.Reg.Des.
Máscara:
@!
Contexto:
Real
DJS_CODPRO
Caractere (C)(15)
Produto
Máscara:
@!
Contexto:
Real
DJS_CODTRT
Caractere (C)(2)
Cod Comp TRT
Máscara:
@!
Contexto:
Real
DJS_CODPAS
Caractere (C)(2)
Cod.Compone
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("DT3",FwFldGet("DJS_CODPAS"))
DJS_DESPAS
Caractere (C)(20)
Componente
Máscara:
@!
Contexto:
Virtual (não existe no banco)
DJS_PERCEN
Numérico (N)(6,2)
Percentual
Máscara:
@E 999.99
Contexto:
Real
Validação:
Positivo()

SELECT de exemplo da tabela DJS

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
  DJS.DJS_FILIAL,
  DJS.DJS_TABFRE,
  DJS.DJS_TIPTAB,
  DJS.DJS_CDRORI,
  DJS.DJS_CDRDES,
  DJS.DJS_CODPRO,
  DJS.DJS_CODTRT,
  DJS.DJS_CODPAS
FROM DJS010 DJS
WHERE DJS.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.