Tabela B7H

HIST. ALT. PERMISSAO DE ACESSO
7camposNome físicoB7H010(empresa 01)

Campos da tabela B7H

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

CampoDescrição
B7H_FILIAL
Caractere (C)(2)
Filial
B7H_DATALT
Data (D)(8)
Data altera
Contexto:
Real
B7H_HORALT
Caractere (C)(4)
Hora Altera.
Máscara:
@R 99:99
Contexto:
Real
B7H_CODPER
Caractere (C)(6)
Cod Perf.
Máscara:
@!
Contexto:
Real
B7H_DESPER
Caractere (C)(50)
Desc. Perfil
Máscara:
@!
Contexto:
Real
B7H_TIPOPE
Caractere (C)(1)
Tipo Ope.
Contexto:
Real
3 valores possíveis
  • 3Inclusao
  • 4Alteracao
  • 5Exclusao
B7H_CODUSR
Caractere (C)(6)
Cod. Usu.
Contexto:
Real

SELECT de exemplo da tabela B7H

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
  B7H.B7H_FILIAL,
  B7H.B7H_DATALT,
  B7H.B7H_HORALT,
  B7H.B7H_CODPER,
  B7H.B7H_DESPER,
  B7H.B7H_TIPOPE,
  B7H.B7H_CODUSR
FROM B7H010 B7H
WHERE B7H.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.