Tabela B9L

MOTIVOS DE VISITA
6camposNome físicoB9L010(empresa 01)

Campos da tabela B9L

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

CampoDescrição
B9L_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B9L_CODVIS
Caractere (C)(2)
Codigo
Máscara:
@!
Contexto:
Real
B9L_DESVIS
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Real
B9L_TIPVIS
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 0CAPTACAO
  • 1RELACIONAMENTO
  • 2CAPTACAO/RELACIONAMENTO
  • 3INSTITUCIONAL
B9L_CODINT
Caractere (C)(4)
Operadora
Máscara:
'@R !.!!!'
Contexto:
Real
B9L_DESINT
Caractere (C)(15)
Desc Ope
Máscara:
@!
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela B9L

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
  B9L.B9L_FILIAL,
  B9L.B9L_CODVIS,
  B9L.B9L_DESVIS,
  B9L.B9L_TIPVIS,
  B9L.B9L_CODINT
FROM B9L010 B9L
WHERE B9L.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.