Tabela B4P

ERROS MONITORAMENTO
14camposNome físicoB4P010(empresa 01)

Campos da tabela B4P

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

14
CampoDescrição
B4P_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B4P_CDCMGU
Caractere (C)(10)
Ide Cmp Guia
Máscara:
@!
Contexto:
Real
B4P_CDCMER
Caractere (C)(4)
Codigo Erro
Máscara:
@!
Contexto:
Real
B4P_DESERR
Caractere (C)(100)
Des. Erro
Máscara:
@!
Contexto:
Real
B4P_NIVERR
Caractere (C)(1)
Nivel Erro
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • GGuia
  • EEventos
  • PPacotes
B4P_SUSEP
Caractere (C)(6)
Registro ANS
Máscara:
@!
Contexto:
Real
B4P_CMPLOT
Caractere (C)(6)
Compet. Lote
Máscara:
@R 9999/99
Contexto:
Real
B4P_NUMLOT
Caractere (C)(12)
Numero Lote
Máscara:
@!
Contexto:
Real
B4P_NMGOPE
Caractere (C)(20)
N Guia Oper.
Máscara:
@!
Contexto:
Real
B4P_NMGPRE
Caractere (C)(20)
N Guia Prest
Máscara:
@!
Contexto:
Real
B4P_CODPRO
Caractere (C)(16)
Cod Proc
Máscara:
@!
Contexto:
Real
B4P_CODPAD
Caractere (C)(2)
Cod Tab Padr
Máscara:
@!
Contexto:
Real
B4P_ORIERR
Caractere (C)(1)
Origem Erro
Contexto:
Real
3 valores possíveis
  • 1Sistema
  • 2Retorno
  • 3Qualidade
B4P_CODGRU
Caractere (C)(3)
Grp. Proced
Contexto:
Real

SELECT de exemplo da tabela B4P

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
  B4P.B4P_FILIAL,
  B4P.B4P_CDCMGU,
  B4P.B4P_CDCMER,
  B4P.B4P_DESERR,
  B4P.B4P_NIVERR,
  B4P.B4P_SUSEP,
  B4P.B4P_CMPLOT,
  B4P.B4P_NUMLOT
FROM B4P010 B4P
WHERE B4P.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.