Tabela B00

Protocolo de negativas
46camposNome físicoB00010(empresa 01)

Campos da tabela B00

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

46
CampoDescrição
B00_FILIAL
Caractere (C)(2)
Filial
B00_COD
Caractere (C)(20)
Protocolo
Máscara:
@!
Contexto:
Real
B00_CONTAT
Caractere (C)(30)
Contato
Máscara:
@!
Contexto:
Real
B00_DTPROT
Data (D)(8)
Dt.Protocolo
Contexto:
Real
B00_HRPROT
Caractere (C)(4)
Hr.Protocolo
Máscara:
@R !!:!!
Contexto:
Real
B00_NUMGUI
Caractere (C)(18)
Numero Guia
Máscara:
@R !!!!.!!!!.!!-!!!!!!!!
Contexto:
Real
Consulta F3:
BUSGUI
Validação:
PLA773VAL()
Modo de edição (When):
INCLUI .OR. EMPTY(M->B00_NUMGUI) .AND. M->B00_TIPPRO == "1"
B00_TPENVI
Caractere (C)(1)
Tipo Envio
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Correio
  • 2E-mail
  • 3Outros
B00_DTATEN
Data (D)(8)
Dt. Atendim.
Contexto:
Real
B00_HRATEN
Caractere (C)(4)
Hr. Atendim.
Máscara:
@R !!:!!
Contexto:
Real
B00_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Pendente
  • 2Impresso/E-mail enviado
B00_EMAILD
Caractere (C)(100)
Email Dest.
Máscara:
@!
Contexto:
Real
B00_QTDGER
Numérico (N)(2)
Qtd.Gerados.
Máscara:
@E 99
Contexto:
Real
B00_DTENCE
Data (D)(8)
Dt.Encerram.
Contexto:
Real
B00_HRENCE
Caractere (C)(4)
Hr.Encerram.
Máscara:
@R !!:!!
Contexto:
Real
B00_OBSERV
Memo (M)(100)
Observacao
Máscara:
@!
Contexto:
Real
Modo de edição (When):
M->B00_TIPPRO $ "13"
B00_ALIGUI
Caractere (C)(3)
Tipo de Guia
Máscara:
@!
Modo de edição (When):
INCLUI .AND. EMPTY(M->B00_NUMGUI)
4 valores possíveis
  • BEAAtendimento
  • B44Reembolso
  • B4AAnexos Clinicos
  • BOWProtocolo de Reembolso
B00_TIPPRO
Caractere (C)(1)
Tipo Protoc.
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 1Atend. PLS
  • 2Atend. TMK
  • 3Atend. PLS e TMK
  • 4Cancel.Plano
B00_INTERC
Caractere (C)(1)
Interc.
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Nao
  • 1Sim
B00_STATE
Caractere (C)(1)
Status Atend
Máscara:
@!
Contexto:
Real
5 valores possíveis
  • 0Nao informado
  • 1Autorizada
  • 2Autorizada Parcialmente
  • 3Nao Autorizada
  • 4Pendente Auditoria
B00_CODATE
Caractere (C)(6)
Cod.Atend.
Máscara:
@!
Contexto:
Real
B00_OCOTMK
Memo (M)(100)
Ocorrencia
Máscara:
@!
Contexto:
Real
Modo de edição (When):
M->B00_TIPPRO $ "23"
B00_SOLTMK
Memo (M)(100)
Solucao
Máscara:
@!
Contexto:
Real
Modo de edição (When):
M->B00_TIPPRO $ "23"
B00_MATRIC
Caractere (C)(17)
Matricula
Máscara:
@!
Contexto:
Real
B00_NOMUSR
Caractere (C)(70)
Nome Usuario
Máscara:
@!
Contexto:
Real
B00_SOLCAN
Caractere (C)(10)
Cod.Solic
Máscara:
@!
Contexto:
Real
B00_ORICAN
Caractere (C)(1)
Orig.Solic
Contexto:
Real
3 valores possíveis
  • 1Presencial
  • 2Call Center
  • 3Portal Web
B00_STACAN
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
Validação:
Pertence("012")
3 valores possíveis
  • 0Pendente
  • 1Bloqueio Efetuado
  • 2Confim. Emitida
B00_OBSCAN
Memo (M)(100)
Observ
Máscara:
@!
Contexto:
Real
B00_MANIF
Caractere (C)(1)
Tipo Manif
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Elogio
  • 2Reclamacao
  • 3Denuncia
  • 4Sugestao
  • 5Duvida
  • 6Solicitacao
B00_CATEG
Caractere (C)(1)
Categ.Man.
Máscara:
@!
Contexto:
Real
1 valores possíveis
  • #PLCtManBox()
B00_SENTIM
Caractere (C)(1)
Sentimento
Contexto:
Real
4 valores possíveis
  • 1Calmo
  • 2Desconfiado
  • 3Nervoso
  • 4Satisfeito
B00_STAINT
Caractere (C)(1)
Stat.Interc.
Máscara:
@!
Contexto:
Real
4 valores possíveis
  • 1Pendente
  • 2Em Andamento
  • 3Finalizado
  • 4Cancelado
B00_OPESOL
Caractere (C)(4)
Ope.Solic.
Máscara:
@!
Contexto:
Real
B00_DESOPS
Caractere (C)(60)
Desc.Oper
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B00_OPEDES
Caractere (C)(4)
Ope.Destin
Máscara:
@!
Contexto:
Real
B00_DESOPD
Caractere (C)(60)
Desc.Oper
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B00_TRAPRE
Caractere (C)(10)
Trans.Prest.
Máscara:
@!
Contexto:
Real
B00_TRAORI
Caractere (C)(10)
Trans.Origem
Máscara:
@!
Contexto:
Real
B00_MSGINT
Memo (M)(999)
Mensagem
Contexto:
Real
B00_USUSOL
Caractere (C)(100)
Usuar.Solic
Contexto:
Real
B00_PROANT
Caractere (C)(20)
Protoc.Ant
Máscara:
@!
Contexto:
Real
B00_NRTROL
Caractere (C)(20)
Nr.Tr.OnLine
Máscara:
@!
Contexto:
Real
B00_CANCEL
Caractere (C)(1)
Cancelado
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 0Nao
  • 1Sim
B00_DATRES
Data (D)(8)
Data Resp.
Contexto:
Real
B00_HORRES
Caractere (C)(4)
Hora Resp.
Contexto:
Real
B00_TRAENC
Caractere (C)(1)
Tran.Encamin
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Oper. Origem
  • 2Oper. Repasse

SELECT de exemplo da tabela B00

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
  B00.B00_FILIAL,
  B00.B00_COD,
  B00.B00_CONTAT,
  B00.B00_DTPROT,
  B00.B00_HRPROT,
  B00.B00_NUMGUI,
  B00.B00_TPENVI,
  B00.B00_DTATEN
FROM B00010 B00
WHERE B00.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.