Tabela B8T

DIOPS CONTROLADAS COLIGADAS
8camposNome físicoB8T010(empresa 01)

Campos da tabela B8T

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

CampoDescrição
B8T_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B8T_CODOPE
Caractere (C)(6)
N. Reg. ANS
Máscara:
999999
Contexto:
Real
Consulta F3:
BA0ANS
B8T_CNPJ
Caractere (C)(14)
CNPJ
Máscara:
@!
Contexto:
Real
Validação:
CGC(M->B8T_CNPJ)
B8T_RAZSOC
Caractere (C)(60)
Razao Social
Máscara:
@!
Contexto:
Real
B8T_TPPART
Caractere (C)(1)
Tp. Particip
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • NControlada
  • LColigada
B8T_CLAEMP
Caractere (C)(1)
Class. Empr.
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • CCongenere
  • HHospital
  • OOutras
B8T_QTDACO
Numérico (N)(16)
Qtd. Acoes
Máscara:
@E 9,999,999,999,999,999
Contexto:
Real
B8T_TOTACO
Numérico (N)(16)
Tot. Acoes
Máscara:
@E 9,999,999,999,999,999
Contexto:
Real

SELECT de exemplo da tabela B8T

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
  B8T.B8T_FILIAL,
  B8T.B8T_CODOPE,
  B8T.B8T_CNPJ,
  B8T.B8T_RAZSOC,
  B8T.B8T_TPPART,
  B8T.B8T_CLAEMP,
  B8T.B8T_QTDACO,
  B8T.B8T_TOTACO
FROM B8T010 B8T
WHERE B8T.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.