Tabela BYT

Dentes/Faces Guia Odontológica
16camposNome físicoBYT010(empresa 01)

Campos da tabela BYT

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

16
CampoDescrição
BYT_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
BYT_CODOPE
Caractere (C)(4)
Operadora
Máscara:
@!
Contexto:
Real
BYT_CODLDP
Caractere (C)(4)
Cd.Local Dig
Máscara:
@!
Contexto:
Real
BYT_CODPEG
Caractere (C)(8)
Codigo PEG
Máscara:
@!
Contexto:
Real
BYT_NUMERO
Caractere (C)(8)
Numero
Máscara:
@!
Contexto:
Real
BYT_SEQUEN
Caractere (C)(3)
Evento
Máscara:
@!
Contexto:
Real
BYT_CODIGO
Caractere (C)(4)
Codigo
Máscara:
@!
Contexto:
Real
BYT_DESCRI
Caractere (C)(60)
Descricao
Máscara:
@!
Contexto:
Real
BYT_TIPO
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
BYT_SEGMEN
Caractere (C)(2)
Segmento
Máscara:
@!
Contexto:
Real
BYT_DESSEG
Caractere (C)(60)
Desc Segmen
Máscara:
@!
Contexto:
Real
BYT_M_ARCO
Caractere (C)(2)
M-Arco
Máscara:
@!
Contexto:
Real
BYT_DESARC
Caractere (C)(60)
Desc M-Arco
Máscara:
@!
Contexto:
Real
BYT_CODPAD
Caractere (C)(2)
Tp.Pad.Saude
Máscara:
@!
Contexto:
Real
BYT_CODPSA
Caractere (C)(16)
Cod.Tab.Pad.
Máscara:
@!
Contexto:
Real
BYT_FACES
Caractere (C)(10)
Faces Dentes
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela BYT

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
  BYT.BYT_FILIAL,
  BYT.BYT_CODOPE,
  BYT.BYT_CODLDP,
  BYT.BYT_CODPEG,
  BYT.BYT_NUMERO,
  BYT.BYT_SEQUEN,
  BYT.BYT_CODIGO,
  BYT.BYT_DESCRI
FROM BYT010 BYT
WHERE BYT.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.