Tabela B35

Divergências Entre Guias
16camposNome físicoB35010(empresa 01)

Campos da tabela B35

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

16
CampoDescrição
B35_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B35_CODOPE
Caractere (C)(4)
Operadora
Máscara:
@!
Contexto:
Real
B35_CODLDP
Caractere (C)(4)
Local Digi.
Máscara:
@!
Contexto:
Real
B35_CODPEG
Caractere (C)(8)
Cod.PEG
Máscara:
@!
Contexto:
Real
B35_NUMERO
Caractere (C)(8)
Cod.Guia
Máscara:
@!
Contexto:
Real
B35_ORIMOV
Caractere (C)(1)
Origem
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Guias de Consultas/Servicos
  • 2Guia de Internacao
  • 3Outros
  • 4Autorizacao Odontologica
  • 5Dig. Off-Line
  • 6Novo Autorizador
B35_CCARGO
Caractere (C)(3)
Cargo
Máscara:
@!
Contexto:
Real
B35_TPREGI
Caractere (C)(1)
Tipo Reg.
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • 1Primeiro Nodo
  • 2Segundo Nodo
  • 3Terceiro Nodo
B35_CODDVG
Caractere (C)(3)
Cod.Diver.
Máscara:
@!
Contexto:
Real
B35_DESCR1
Caractere (C)(120)
Descricao
Máscara:
@!
Contexto:
Real
B35_DESCR2
Caractere (C)(120)
Descricao
Máscara:
@!
Contexto:
Real
B35_DESCR3
Caractere (C)(120)
Descricao
Máscara:
@!
Contexto:
Real
B35_DESCR4
Caractere (C)(120)
Descricao
Máscara:
@!
Contexto:
Real
B35_DESCR5
Caractere (C)(120)
Descricao
Máscara:
@!
Contexto:
Real
B35_CIMAGE
Caractere (C)(30)
Cod.Img.
Máscara:
@!
Contexto:
Real
B35_SEQEST
Caractere (C)(8)
Seq. Est.
Contexto:
Real

SELECT de exemplo da tabela B35

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
  B35.B35_FILIAL,
  B35.B35_CODOPE,
  B35.B35_CODLDP,
  B35.B35_CODPEG,
  B35.B35_NUMERO,
  B35.B35_ORIMOV,
  B35.B35_CCARGO,
  B35.B35_TPREGI
FROM B35010 B35
WHERE B35.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.