Tabela B7O

Prestadores Substitutos
13camposNome físicoB7O010(empresa 01)

Campos da tabela B7O

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

13
CampoDescrição
B7O_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B7O_CODRDA
Caractere (C)(6)
Cod. RDA
Máscara:
@!
Contexto:
Real
B7O_PRESUB
Caractere (C)(6)
Prest.Subst.
Máscara:
@!
Contexto:
Real
Consulta F3:
BAU400
Validação:
PLVLDSUBED(M->B7O_PRESUB)
B7O_DESCRI
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B7O_DTBLOQ
Data (D)(8)
Data de Bloq
Contexto:
Real
B7O_NVEXC
Caractere (C)(2)
Niv.Exclusao
Máscara:
@!
Contexto:
Real
8 valores possíveis
  • 01Prestador
  • 02Plano/Produto
  • 03Rede
  • 04Endereco
  • 05Plano x Rede
  • 06Plano x Endereco
  • 07Rede x Endereco
  • 08Plano x Rede x Ender
B7O_REDEXC
Caractere (C)(4)
Rede Excluid
Máscara:
@!
Contexto:
Real
B7O_ENDEXC
Caractere (C)(2)
End Excluido
Máscara:
@!
Contexto:
Real
B7O_PLAEXC
Caractere (C)(20)
Plano Exclui
Máscara:
@!
Contexto:
Real
B7O_LABBLO
Caractere (C)(3)
Cod. Loc Blo
Contexto:
Real
Consulta F3:
BB8BLO
Validação:
PLSVLEXCDR ("1", M->B7O_CODRDA, M->B7O_LABBLO)
Modo de edição (When):
PLSVLBLAT()
B7O_DESLAB
Caractere (C)(30)
Desc Loc Blo
Contexto:
Virtual (não existe no banco)
B7O_LABSUS
Caractere (C)(3)
Cod Loc Sub
Contexto:
Real
Consulta F3:
BB8SUB
Validação:
PLVLDSUBED(M->B7O_PRESUB, M->B7O_LABBLO, M->B7O_LABSUS, "2")
B7O_DESLAP
Caractere (C)(30)
Desc Loc Sub
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela B7O

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
  B7O.B7O_FILIAL,
  B7O.B7O_CODRDA,
  B7O.B7O_PRESUB,
  B7O.B7O_DTBLOQ,
  B7O.B7O_NVEXC,
  B7O.B7O_REDEXC,
  B7O.B7O_ENDEXC,
  B7O.B7O_PLAEXC
FROM B7O010 B7O
WHERE B7O.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.