Tabela B43

Aut x Proc x Pacote
20camposNome físicoB43010(empresa 01)

Campos da tabela B43

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

20
CampoDescrição
B43_FILIAL
Caractere (C)(2)
Filial
B43_IMGSTA
Caractere (C)(16)
Máscara:
@BMP
Contexto:
Virtual (não existe no banco)
B43_OPEMOV
Caractere (C)(4)
Operadora
Máscara:
@!
Contexto:
Real
B43_ANOAUT
Caractere (C)(4)
Ano Autor.
Máscara:
@!
Contexto:
Real
B43_MESAUT
Caractere (C)(2)
Mes Autor.
Máscara:
@!
Contexto:
Real
B43_NUMAUT
Caractere (C)(8)
Nr. Autor.
Máscara:
@!
Contexto:
Real
B43_SEQUEN
Caractere (C)(3)
Sequencia
Máscara:
@!
Contexto:
Real
B43_CODOPE
Caractere (C)(4)
Operadora
Máscara:
@!
Contexto:
Real
B43_CODLDP
Caractere (C)(4)
Local Dig.
Máscara:
@!
Contexto:
Real
B43_CODPEG
Caractere (C)(8)
Peg
Máscara:
@!
Contexto:
Real
B43_NUMERO
Caractere (C)(8)
Numero
Máscara:
@!
Contexto:
Real
B43_CODPAD
Caractere (C)(2)
Cd.Tp.Pad
Máscara:
@!
Contexto:
Real
B43_CODPRO
Caractere (C)(16)
Cod. Proc.
Máscara:
@!
Contexto:
Real
B43_DESPRO
Caractere (C)(40)
Desc. Proc.
Máscara:
@!
Contexto:
Real
B43_VALCH
Numérico (N)(16,4)
Valor CH
Máscara:
@E 99,999,999,999.9999
Contexto:
Real
B43_VALFIX
Numérico (N)(16,4)
Valor Real
Máscara:
@E 99,999,999,999.9999
Contexto:
Real
B43_PRINCI
Caractere (C)(1)
Principal?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 0Nao
B43_TIPO
Caractere (C)(1)
Tipo
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 0Procedimento
  • 1Material
  • 2Medicamento
  • 3Taxa
  • 4Diaria
  • 5Ortese/Protese
B43_ORIMOV
Caractere (C)(1)
Origem Mvto
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Guias de Consultas/Servicos
  • 2Guia de Internacao
  • 3Outros
  • 4Autorizacao Odontologica
  • 5Dig. Off-Line
  • 6Novo Autorizador
B43_NIVPAC
Caractere (C)(3)
Nivel
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela B43

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
  B43.B43_FILIAL,
  B43.B43_OPEMOV,
  B43.B43_ANOAUT,
  B43.B43_MESAUT,
  B43.B43_NUMAUT,
  B43.B43_SEQUEN,
  B43.B43_CODOPE,
  B43.B43_CODLDP
FROM B43010 B43
WHERE B43.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.