Tabela B8M

DIOPS OPERADORAS
12camposNome físicoB8M010(empresa 01)

Campos da tabela B8M

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

12
CampoDescrição
B8M_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B8M_CODOPE
Caractere (C)(6)
N. Reg. ANS
Máscara:
@!
Contexto:
Real
Validação:
B8MOPE()
B8M_CNPJOP
Caractere (C)(14)
CNPJ
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
Validação:
CGC(M->B8M_CNPJOP)
B8M_RAZSOC
Caractere (C)(60)
Raz. Social
Máscara:
@!
Contexto:
Real
B8M_NOMFAN
Caractere (C)(50)
Nom Fantasia
Máscara:
@!
Contexto:
Real
B8M_NATJUR
Caractere (C)(5)
Natur. Juri.
Máscara:
@!
Contexto:
Real
Consulta F3:
B8MN
Validação:
!Empty(B8MDescri('N'))
B8M_DNATJU
Caractere (C)(50)
Des. N. Jur.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B8M_MODALI
Caractere (C)(5)
Modalidade
Máscara:
@!
Contexto:
Real
Consulta F3:
B8MM
B8M_DMOALI
Caractere (C)(50)
Des. Modalid
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B8M_DMODAL
Caractere (C)(50)
Des. Modalid
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B8M_SEGMEN
Caractere (C)(5)
Segmentacao
Máscara:
@!
Contexto:
Real
Consulta F3:
B8MS
B8M_DSEGME
Caractere (C)(50)
Des. Segment
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela B8M

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
  B8M.B8M_FILIAL,
  B8M.B8M_CODOPE,
  B8M.B8M_CNPJOP,
  B8M.B8M_RAZSOC,
  B8M.B8M_NOMFAN,
  B8M.B8M_NATJUR,
  B8M.B8M_MODALI,
  B8M.B8M_SEGMEN
FROM B8M010 B8M
WHERE B8M.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.