Tabela BOS

Cadastro de Alertas
21camposNome físicoBOS010(empresa 01)

Campos da tabela BOS

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

21
CampoDescrição
BOS_FILIAL
Caractere (C)(2)
Filial
BOS_CODPRO
Caractere (C)(6)
Cod Programa
Máscara:
@!
Contexto:
Real
BOS_NROSEQ
Caractere (C)(6)
Seq Alert
Máscara:
@!
Contexto:
Real
BOS_RESUMO
Caractere (C)(80)
Resumo
Máscara:
@!
Contexto:
Real
BOS_DATSIN
Data (D)(8)
Data Inicio
Contexto:
Real
BOS_HORAIN
Caractere (C)(5)
Hora Alerta
Máscara:
99:99
BOS_TEXTO
Memo (M)(10)
Texto Alerta
Máscara:
@!
Contexto:
Real
BOS_ACAO
Memo (M)(10)
Acao Alerta
Máscara:
@!
Contexto:
Real
BOS_ORIGEM
Caractere (C)(30)
Origem Aler.
Máscara:
@!
Contexto:
Real
BOS_DESTIN
Caractere (C)(1)
Destino
Máscara:
@!
Contexto:
Real
Validação:
Pertence('0123')
4 valores possíveis
  • 0Paciente
  • 1Profissional
  • 2Promocao
  • 3Todos
BOS_CODSIN
Caractere (C)(6)
Cod Sinaliz
Máscara:
@!
Contexto:
Real
BOS_DESSIN
Caractere (C)(40)
Descricao
Máscara:
@!
BOS_AUTOMA
Caractere (C)(1)
Alert Automa
Máscara:
@!
Contexto:
Real
Validação:
Pertence('01')
2 valores possíveis
  • 0Nao
  • 1Sim
BOS_VIDA
Caractere (C)(8)
Cod. Vida
Máscara:
@!
Contexto:
Real
Consulta F3:
BTS
Validação:
HS_SeekRet('BTS','M->BOS_VIDA',1,.f.,'BOS_NOME','BTS_NOMUSR')
BOS_NOME
Caractere (C)(70)
Nome Partic.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
BOS_STATUS
Caractere (C)(1)
Status Alert
Máscara:
@!
Contexto:
Real
Validação:
Pertence('01')
2 valores possíveis
  • 0Pendente
  • 1Processado
BOS_TPALER
Caractere (C)(1)
Tipo Alerta
Máscara:
@!
Contexto:
Real
Validação:
Pertence('012')
3 valores possíveis
  • 0Internacao
  • 1Agenda
  • 2Evento
BOS_CODLOC
Caractere (C)(3)
Cd.Local
Máscara:
@!
Contexto:
Real
BOS_LOCAL
Caractere (C)(30)
Descricao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
Validação:
PLSConLoc(BOS->BOS_CODLOC)
BOS_CODEVE
Caractere (C)(6)
Camp/Evento
Máscara:
@!
Contexto:
Real
BOS_DATEVE
Data (D)(8)
Dt. Evento
Contexto:
Real

SELECT de exemplo da tabela BOS

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
  BOS.BOS_FILIAL,
  BOS.BOS_CODPRO,
  BOS.BOS_NROSEQ,
  BOS.BOS_RESUMO,
  BOS.BOS_DATSIN,
  BOS.BOS_HORAIN,
  BOS.BOS_TEXTO,
  BOS.BOS_ACAO
FROM BOS010 BOS
WHERE BOS.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.