Tabela B7L

ARQUIVO DE LOG DE ALTERACOES
15camposNome físicoB7L010(empresa 01)

Campos da tabela B7L

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

15
CampoDescrição
B7L_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B7L_SEQUEN
Caractere (C)(8)
Sequencial
Máscara:
@!
Contexto:
Real
B7L_ALIAS
Caractere (C)(3)
Alais Origem
Máscara:
@!
Contexto:
Real
B7L_CAMPO
Caractere (C)(10)
Campo
Máscara:
@!
Contexto:
Real
B7L_ALIACH
Caractere (C)(3)
Alias Chave
Máscara:
@!
Contexto:
Real
B7L_CHAVE
Caractere (C)(100)
Chave
Máscara:
@!
Contexto:
Real
B7L_VLANT
Caractere (C)(100)
Conteudo Ant
Máscara:
@!
Contexto:
Real
B7L_VLPOS
Caractere (C)(100)
conteudo Pos
Máscara:
@!
Contexto:
Real
B7L_GRAVAD
Lógico (L)(1)
Gravado
Contexto:
Real
B7L_TIPO
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Inclusao
  • 2Alteracao
B7L_RECREG
Caractere (C)(5)
Recno Reg.
Máscara:
@!
Contexto:
Real
B7L_DATA
Data (D)(8)
Dt Alteracao
Contexto:
Real
B7L_HORA
Caractere (C)(5)
Hora Alter.
Máscara:
99:99
Contexto:
Real
B7L_USER
Caractere (C)(15)
Usuario
Máscara:
@!
Contexto:
Real
B7L_CHVREG
Caractere (C)(200)
Chv Reg Alt.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela B7L

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
  B7L.B7L_FILIAL,
  B7L.B7L_SEQUEN,
  B7L.B7L_ALIAS,
  B7L.B7L_CAMPO,
  B7L.B7L_ALIACH,
  B7L.B7L_CHAVE,
  B7L.B7L_VLANT,
  B7L.B7L_VLPOS
FROM B7L010 B7L
WHERE B7L.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.