Tabela LEB

Equip. de Proteção Coletiva
8camposNome físicoLEB010(empresa 01)

Campos da tabela LEB

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

CampoDescrição
LEB_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
LEB_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
LEB_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
LEB_DESEPC
Caractere (C)(70)
Desc. EPC
Contexto:
Real
LEB_EFIEPC
Caractere (C)(1)
Efic. EPC
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
LEB_UTZEPC
Caractere (C)(1)
Utiliza EPI
Contexto:
Real
LEB_CODAMB
Caractere (C)(6)
Id. Cod. Amb
Máscara:
@!
Contexto:
Real
LEB_CODFAT
Caractere (C)(6)
Id. Fat. Ris
Contexto:
Real

SELECT de exemplo da tabela LEB

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
  LEB.LEB_FILIAL,
  LEB.LEB_ID,
  LEB.LEB_VERSAO,
  LEB.LEB_DESEPC,
  LEB.LEB_EFIEPC,
  LEB.LEB_UTZEPC,
  LEB.LEB_CODAMB,
  LEB.LEB_CODFAT
FROM LEB010 LEB
WHERE LEB.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.