Tabela B5F

Repasse Pós Pagamento/Habitual
27camposNome físicoB5F010(empresa 01)

Campos da tabela B5F

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

27
CampoDescrição
B5F_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B5F_OPEORI
Caractere (C)(4)
Oper. Origem
Máscara:
@!
Contexto:
Real
Consulta F3:
BA0OPE
Validação:
ExistCpo("BA0")
B5F_DESORI
Caractere (C)(60)
Desc Origem
Máscara:
@!
Contexto:
Virtual (não existe no banco)
B5F_OPEHAB
Caractere (C)(4)
Oper. Destin
Contexto:
Real
Consulta F3:
BA0OPE
Validação:
ExistCpo("BA0")
B5F_DESHAB
Caractere (C)(60)
Desc Habitua
Contexto:
Virtual (não existe no banco)
B5F_CODINT
Caractere (C)(4)
Cod. Operado
Contexto:
Real
B5F_CODEMP
Caractere (C)(4)
Cod. Empresa
Contexto:
Real
B5F_MATRIC
Caractere (C)(6)
Matricula
Máscara:
@!
Contexto:
Real
B5F_TIPREG
Caractere (C)(2)
Tp. Registro
Máscara:
@!
Contexto:
Real
B5F_DIGITO
Caractere (C)(1)
Digito
Contexto:
Real
B5F_MATANT
Caractere (C)(17)
Mat.Sist.Ant
Contexto:
Real
B5F_NOMUSR
Caractere (C)(70)
Nome Usuario
Máscara:
@!
Contexto:
Real
B5F_VIGINI
Data (D)(8)
Vigencia Ini
Contexto:
Real
B5F_VIGFIM
Data (D)(8)
Vigencia Fim
Contexto:
Real
B5F_STATUS
Caractere (C)(1)
Status
Contexto:
Real
5 valores possíveis
  • 1Pend.Envio
  • 2Enviado
  • 3Acatado
  • 4Rejeitado
  • 5Recebido
B5F_CODRET
Caractere (C)(4)
Cod Ret A200
Máscara:
@!
Contexto:
Real
B5F_MSGRET
Caractere (C)(80)
Desc Ret A20
Máscara:
@!
Contexto:
Real
B5F_ARQEDI
Caractere (C)(50)
Arq.Import.
Contexto:
Real
B5F_MATHAB
Caractere (C)(17)
Matric.Hab.
Máscara:
@!
Contexto:
Real
B5F_TPCONT
Caractere (C)(1)
Tp Contratac
B5F_NOMSOC
Caractere (C)(70)
Nome Social
Contexto:
Real
B5F_NOMSCA
Caractere (C)(25)
Nome Cartao
Contexto:
Real
B5F_IDPLAN
Caractere (C)(1)
Id Plano
B5F_PROANS
Caractere (C)(20)
Cod Prod ANS
Máscara:
@!
Contexto:
Real
B5F_GENSOC
Caractere (C)(1)
Gen.Social
Contexto:
Real
3 valores possíveis
  • 1Feminino
  • 2Masculino
  • 3Ignorado
B5F_PLAINT
Caractere (C)(3)
Cod Pla Int
Máscara:
@!
Contexto:
Real
B5F_MOTEXC
Caractere (C)(2)
Mot.Bloqueio
Contexto:
Real

SELECT de exemplo da tabela B5F

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
  B5F.B5F_FILIAL,
  B5F.B5F_OPEORI,
  B5F.B5F_OPEHAB,
  B5F.B5F_CODINT,
  B5F.B5F_CODEMP,
  B5F.B5F_MATRIC,
  B5F.B5F_TIPREG,
  B5F.B5F_DIGITO
FROM B5F010 B5F
WHERE B5F.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.