Tabela ABB

Agenda de Atendentes
37camposNome físicoABB010(empresa 01)

Campos da tabela ABB

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

37
CampoDescrição
ABB_FILIAL
Caractere (C)(2)
Filial
ABB_CODTEC
Caractere (C)(14)
Atendente
Consulta F3:
AA1ABB
Validação:
ExistCpo("AA1")
ABB_NOMTEC
Caractere (C)(30)
Nome Atenden
Máscara:
@!
Contexto:
Virtual (não existe no banco)
ABB_ENTIDA
Caractere (C)(3)
Cod.Entidade
Máscara:
@!
Contexto:
Real
Validação:
Empty(&(Readvar())).OR.&(Readvar())$TxEntPerm()
3 valores possíveis
  • AB6Ordens de Servico
  • AB7Itens de Ordens de Servico
  • AATVistoria Tecnica
ABB_CHAVE
Caractere (C)(25)
Agendamento
Máscara:
@!
Contexto:
Real
Consulta F3:
ABBENT
Validação:
TxVldChave()
ABB_NUMOS
Caractere (C)(6)
Nr.OS
Máscara:
@!
Consulta F3:
AB6
Validação:
ExistCpo("AB6")
ABB_DTINI
Data (D)(8)
Data Inicial
Validação:
At500Data()
ABB_HRINI
Caractere (C)(5)
Hora Inicial
Máscara:
99:99
Validação:
AtVldHora(M->ABB_HRINI).And.At500Data()
ABB_DTFIM
Data (D)(8)
Data Final
Validação:
At500Data()
ABB_HRFIM
Caractere (C)(5)
Hora Final
Máscara:
99:99
Validação:
AtVldHora(M->ABB_HRFIM).And.At500Data()
ABB_HRTOT
Caractere (C)(10)
Total
Máscara:
@!
ABB_OBSERV
Caractere (C)(30)
Observacao
Máscara:
@!S20
ABB_SACRA
Caractere (C)(1)
Sacramentado
Máscara:
@!
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
ABB_CHEGOU
Caractere (C)(1)
Compareceu
Máscara:
@!
Validação:
Pertence("SN")
2 valores possíveis
  • SSim
  • NNao
ABB_DATA
Data (D)(8)
Data
ABB_ATENDE
Caractere (C)(1)
Atendeu
Máscara:
@!
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
ABB_IDCFAL
Caractere (C)(24)
Id.Cfg.Aloc
Máscara:
@!
Contexto:
Real
ABB_CODIGO
Caractere (C)(12)
Cod. Agenda
Máscara:
@!
Contexto:
Real
ABB_ATIVO
Caractere (C)(1)
Ativa?
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
ABB_MANUT
Caractere (C)(1)
Alterada?
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
ABB_LOCAL
Caractere (C)(8)
Local
Máscara:
@!
Contexto:
Real
Consulta F3:
ABS
Validação:
If(NaoVazio(), ExistChav("ABS"), .T.)
ABB_TIPOMV
Caractere (C)(3)
Movimento
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("TCU")
ABB_CUSTO
Numérico (N)(14,2)
Vlr Custo
Máscara:
@E 99,999,999,999.99
Contexto:
Real
ABB_CODTWZ
Caractere (C)(6)
Cod. Custo
Máscara:
@!
Contexto:
Real
ABB_SAIU
Caractere (C)(1)
Saiu
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
ABB_OBSIN
Memo (M)(50)
Obs Checkin
Contexto:
Real
ABB_OBSOUT
Memo (M)(50)
Obs checkout
Contexto:
Real
ABB_LATIN
Caractere (C)(50)
Latitude In
Máscara:
@!
Contexto:
Real
ABB_LONIN
Caractere (C)(50)
Long checkin
Máscara:
@!
Contexto:
Real
ABB_LATOUT
Caractere (C)(50)
Lat Checkout
Máscara:
@!
Contexto:
Real
ABB_LONOUT
Caractere (C)(50)
Long checkou
Máscara:
@!
Contexto:
Real
ABB_HRCHIN
Caractere (C)(10)
Hr check-in
Máscara:
@!
Contexto:
Real
ABB_HRCOUT
Caractere (C)(10)
Hr checkout
Máscara:
@!
Contexto:
Real
ABB_MANIN
Caractere (C)(1)
Man Checkin
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
ABB_OBSMIN
Memo (M)(50)
Obs Man In
Contexto:
Real
ABB_MANOUT
Caractere (C)(1)
Man checkout
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
ABB_OBSMOU
Memo (M)(50)
Obs Man Out
Contexto:
Real

SELECT de exemplo da tabela ABB

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
  ABB.ABB_FILIAL,
  ABB.ABB_CODTEC,
  ABB.ABB_ENTIDA,
  ABB.ABB_CHAVE,
  ABB.ABB_NUMOS,
  ABB.ABB_DTINI,
  ABB.ABB_HRINI,
  ABB.ABB_DTFIM
FROM ABB010 ABB
WHERE ABB.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.