Tabela B4M

Monitoramento Tiss
26camposNome físicoB4M010(empresa 01)

Campos da tabela B4M

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

26
CampoDescrição
B4M_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B4M_SUSEP
Caractere (C)(6)
Registro ANS
Máscara:
@!
Contexto:
Real
B4M_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
1 valores possíveis
  • #PL270StBox()
B4M_PRORET
Caractere (C)(1)
Prc Retorno?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • SSim
  • NNao
B4M_QTDCRI
Numérico (N)(6)
Qtd Criticas
Máscara:
@E 999999
Contexto:
Real
B4M_NUMLOT
Caractere (C)(12)
Numero Lote
Máscara:
@!
Contexto:
Real
B4M_CMPLOT
Caractere (C)(6)
Compet. Lote
Máscara:
@R 9999/99
Contexto:
Real
B4M_NMAREN
Caractere (C)(20)
Nome do Arq.
Máscara:
@!
Contexto:
Real
B4M_DTPREN
Data (D)(8)
Dt. Proc Env
Contexto:
Real
B4M_HRPREN
Caractere (C)(8)
Hr. Proc Env
Máscara:
99:99:99
Contexto:
Real
B4M_DTPRRE
Data (D)(8)
Dt. Proc Ret
Contexto:
Real
B4M_HRPRRE
Caractere (C)(8)
Hr. Proc Ret
Máscara:
99:99:99
Contexto:
Real
B4M_DTPRMO
Data (D)(8)
Dt Proc Qual
Contexto:
Real
B4M_HRPRMO
Caractere (C)(8)
Hr Proc Qual
Máscara:
99:99:99
Contexto:
Real
B4M_CODUSR
Caractere (C)(20)
Cod. Usuario
Máscara:
@!
Contexto:
Real
B4M_CODREJ
Caractere (C)(4)
Cod Rejeicao
Máscara:
@!
Contexto:
Real
B4M_QTRGIN
Numérico (N)(4)
Qtd Reg Inc.
Máscara:
@E 9999
Contexto:
Real
B4M_QTRGAL
Numérico (N)(4)
Qtd. Reg Alt
Máscara:
@E 9999
Contexto:
Real
B4M_QTRGEX
Numérico (N)(4)
Qtd Reg Exc.
Máscara:
@E 9999
Contexto:
Real
B4M_QTRGER
Numérico (N)(4)
Qtd Reg Erro
Máscara:
@E 9999
Contexto:
Real
B4M_TISVER
Caractere (C)(7)
Versao TISS
Máscara:
@!
Contexto:
Real
B4M_REENVI
Caractere (C)(1)
Lote Reenvio
Máscara:
@!
Contexto:
Real
Validação:
Vazio() .Or. Pertence('01')
2 valores possíveis
  • 0Nao
  • 1Sim
B4M_QTRGPR
Numérico (N)(5)
Qnt Reg Proc
Máscara:
@R 99999
Contexto:
Real
B4M_OK
Caractere (C)(2)
Ident Selec
Contexto:
Real
B4M_TIPENV
Caractere (C)(1)
Tipo Process
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 1Guias Monitoramento
  • 2Fornecimento Direto
  • 3Outra Remuneracao
  • 4Valor Preestabelecido
B4M_VERSAO
Caractere (C)(7)
Versao
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela B4M

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
  B4M.B4M_FILIAL,
  B4M.B4M_SUSEP,
  B4M.B4M_STATUS,
  B4M.B4M_PRORET,
  B4M.B4M_QTDCRI,
  B4M.B4M_NUMLOT,
  B4M.B4M_CMPLOT,
  B4M.B4M_NMAREN
FROM B4M010 B4M
WHERE B4M.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.