Tabela HKJ

Dimensão Fornecedor
25camposNome físicoHKJ010(empresa 01)

Campos da tabela HKJ

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

25
CampoDescrição
HKJ_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
HKJ_FORNEC
Caractere (C)(32)
Fornecedor
Contexto:
Real
HKJ_ISTCIA
Caractere (C)(2)
Instancia
Contexto:
Real
HKJ_LINPRO
Caractere (C)(2)
Lin. Prod.
Contexto:
Real
HKJ_GRPEMP
Caractere (C)(10)
Grupo de Emp
Contexto:
Real
HKJ_CDUNEG
Caractere (C)(10)
Un. Negocio
Contexto:
Real
HKJ_CDEMPR
Caractere (C)(10)
Emp
Contexto:
Real
HKJ_CODIGO
Caractere (C)(25)
Cod. Fornec.
Contexto:
Real
HKJ_LOJA
Caractere (C)(2)
Cod Loja For
Máscara:
@!
Contexto:
Real
HKJ_FORNMT
Caractere (C)(25)
Matriz Forec
Máscara:
@!
Contexto:
Real
HKJ_NOME
Caractere (C)(60)
Nome
Contexto:
Real
HKJ_MATRIZ
Caractere (C)(60)
Matriz Forne
Contexto:
Real
HKJ_RAMO
Caractere (C)(30)
Ramo Ativida
Contexto:
Real
HKJ_MATFOR
Caractere (C)(32)
Matriz Forn.
HKJ_LIVRE0
Caractere (C)(50)
Livre 0
HKJ_LIVRE1
Caractere (C)(50)
Livre 1
HKJ_LIVRE2
Caractere (C)(50)
Livre 2
HKJ_LIVRE3
Caractere (C)(50)
Livre 3
HKJ_LIVRE4
Caractere (C)(50)
Livre 4
HKJ_LIVRE5
Caractere (C)(50)
Livre 5
HKJ_LIVRE6
Caractere (C)(50)
Livre 6
HKJ_LIVRE7
Caractere (C)(50)
Livre 7
HKJ_LIVRE8
Caractere (C)(50)
Livre 8
HKJ_LIVRE9
Caractere (C)(50)
Livre 9
HKJ_CREJUR
Caractere (C)(1)
Credenciado

SELECT de exemplo da tabela HKJ

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
  HKJ.HKJ_FILIAL,
  HKJ.HKJ_FORNEC,
  HKJ.HKJ_ISTCIA,
  HKJ.HKJ_LINPRO,
  HKJ.HKJ_GRPEMP,
  HKJ.HKJ_CDUNEG,
  HKJ.HKJ_CDEMPR,
  HKJ.HKJ_CODIGO
FROM HKJ010 HKJ
WHERE HKJ.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.