Tabela B6T

Itens Guias Lote Aviso-Recebim
28camposNome físicoB6T010(empresa 01)

Campos da tabela B6T

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

28
CampoDescrição
B6T_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
B6T_SEQLOT
Caractere (C)(8)
Seq. Lote
Máscara:
@!
Contexto:
Real
B6T_SEQGUI
Caractere (C)(3)
Seq. Guia
Máscara:
@!
Contexto:
Real
B6T_SEQUEN
Caractere (C)(3)
Sequen
Máscara:
@!
Contexto:
Real
B6T_NUMLOT
Caractere (C)(12)
Num. Lote
Máscara:
@!
Contexto:
Real
B6T_OPEORI
Caractere (C)(4)
Oper. Origem
Máscara:
@!
Contexto:
Real
B6T_OPEHAB
Caractere (C)(4)
Oper. Habit.
Máscara:
@!
Contexto:
Real
B6T_NMGPRE
Caractere (C)(20)
Nr.Guia Pres
Máscara:
@!
Contexto:
Real
B6T_MATRIC
Caractere (C)(17)
Matricula
Máscara:
@!
Contexto:
Real
B6T_DATPRO
Data (D)(8)
Dt.Proced.
Contexto:
Real
B6T_HORPRO
Caractere (C)(6)
Hora Proced.
Máscara:
@R !!:!!:!!
Contexto:
Real
B6T_HORFIM
Caractere (C)(6)
Hr.Fin.Proc.
Máscara:
@R !!:!!:!!
Contexto:
Real
B6T_CODPAD
Caractere (C)(2)
Cd.Tp.Tabela
Máscara:
@!
Contexto:
Real
B6T_CODPRO
Caractere (C)(16)
Cd.Proc.
Máscara:
@!
Contexto:
Real
B6T_DESPRO
Caractere (C)(40)
Desc.Proced.
Máscara:
@!
Contexto:
Real
B6T_QTDPRO
Numérico (N)(12,4)
Qtd.Procedim
Máscara:
@E 9,999,999.9999
Contexto:
Real
B6T_VLRPRO
Numérico (N)(16,2)
Vlr.Procedim
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
B6T_VLR500
Numérico (N)(16,2)
Vlr.Pro.A500
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
B6T_VALCOP
Numérico (N)(16,2)
Vlr.Copartic
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
B6T_VIA
Caractere (C)(1)
Via Acesso
Máscara:
@!
Contexto:
Real
B6T_TECUTI
Caractere (C)(1)
Tec Utilizad
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • 1Convencional
  • 2Video
  • 3Robotica
B6T_LAPRO
Caractere (C)(1)
Id.Ctb.Prov
Máscara:
@!
Contexto:
Real
B6T_DTPRO
Data (D)(8)
Dat.Ctb.Prov
Contexto:
Real
B6T_CHVPRO
Caractere (C)(30)
Chv.Ctb.Prov
Máscara:
@!
Contexto:
Real
B6T_SEQIMP
Caractere (C)(8)
Seq.Import.
Máscara:
@!
Contexto:
Real
B6T_LA
Caractere (C)(1)
Id.Ctb.Custo
Máscara:
@!
Contexto:
Real
B6T_DTLA
Data (D)(8)
Dat.Ctb.Cust
Contexto:
Real
B6T_CHVLA
Caractere (C)(30)
Chv.Ctb.Cust
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela B6T

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
  B6T.B6T_FILIAL,
  B6T.B6T_SEQLOT,
  B6T.B6T_SEQGUI,
  B6T.B6T_SEQUEN,
  B6T.B6T_NUMLOT,
  B6T.B6T_OPEORI,
  B6T.B6T_OPEHAB,
  B6T.B6T_NMGPRE
FROM B6T010 B6T
WHERE B6T.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.