Tabela HJ7

Dimensão Cliente
24camposNome físicoHJ7010(empresa 01)

Campos da tabela HJ7

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

24
CampoDescrição
HJ7_CLIENT
Caractere (C)(32)
Cliente
Máscara:
@!
Contexto:
Real
HJ7_ISTCIA
Caractere (C)(2)
Instancia
Máscara:
@!
Contexto:
Real
HJ7_LINPRO
Caractere (C)(2)
Linh Produto
Máscara:
@!
Contexto:
Real
HJ7_GRPEMP
Caractere (C)(10)
Grupo Empres
Máscara:
@!
Contexto:
Real
HJ7_CDUNEG
Caractere (C)(10)
Cod Unid Neg
Máscara:
@!
Contexto:
Real
HJ7_CDEMPR
Caractere (C)(10)
Cod. Empresa
Máscara:
@!
Contexto:
Real
HJ7_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
HJ7_CODIGO
Caractere (C)(25)
Cod. Cliente
Máscara:
@!
Contexto:
Real
HJ7_LOJA
Caractere (C)(2)
Loja Cliente
Máscara:
@!
Contexto:
Real
HJ7_CLIEMT
Caractere (C)(25)
Cod. Matriz
Máscara:
@!
Contexto:
Real
HJ7_NOME
Caractere (C)(60)
Nome Cliente
Máscara:
@!
Contexto:
Real
HJ7_MATRIZ
Caractere (C)(60)
Matriz
Máscara:
@!
Contexto:
Real
HJ7_RAMO
Caractere (C)(30)
Ramo Ativid.
Máscara:
@!
Contexto:
Real
HJ7_MATCLI
Caractere (C)(32)
Matriz Cli.
HJ7_LIVRE0
Caractere (C)(50)
Livre 0
HJ7_LIVRE1
Caractere (C)(50)
Livre 1
HJ7_LIVRE2
Caractere (C)(50)
Livre 2
HJ7_LIVRE3
Caractere (C)(50)
Livre 3
HJ7_LIVRE4
Caractere (C)(50)
Livre 4
HJ7_LIVRE5
Caractere (C)(50)
Livre 5
HJ7_LIVRE6
Caractere (C)(50)
Livre 6
HJ7_LIVRE7
Caractere (C)(50)
Livre 7
HJ7_LIVRE8
Caractere (C)(50)
Livre 8
HJ7_LIVRE9
Caractere (C)(50)
Livre 9

SELECT de exemplo da tabela HJ7

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
  HJ7.HJ7_CLIENT,
  HJ7.HJ7_ISTCIA,
  HJ7.HJ7_LINPRO,
  HJ7.HJ7_GRPEMP,
  HJ7.HJ7_CDUNEG,
  HJ7.HJ7_CDEMPR,
  HJ7.HJ7_FILIAL,
  HJ7.HJ7_CODIGO
FROM HJ7010 HJ7
WHERE HJ7.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.