Tabela CRJ

Fatores de Risco
5camposNome físicoCRJ010(empresa 01)

Campos da tabela CRJ

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

CampoDescrição
CRJ_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CRJ_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
CRJ_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
CRJ_CODAGE
Caractere (C)(6)
Id. Ag. Noc.
Máscara:
@!
Contexto:
Real
Consulta F3:
C98
Validação:
xFunVldCmp("C98",,,,2,.T.)
CRJ_DCODAG
Caractere (C)(220)
Descr. Agen.
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela CRJ

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
  CRJ.CRJ_FILIAL,
  CRJ.CRJ_ID,
  CRJ.CRJ_VERSAO,
  CRJ.CRJ_CODAGE
FROM CRJ010 CRJ
WHERE CRJ.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.