Tabela TBU

Contatos Externos
10camposNome físicoTBU010(empresa 01)

Campos da tabela TBU

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

10
CampoDescrição
TBU_FILIAL
Caractere (C)(2)
Filial
TBU_CODPLA
Caractere (C)(6)
Plano Emerg.
Máscara:
@!
Contexto:
Real
TBU_CODCON
Caractere (C)(6)
Contato
Máscara:
@!
Contexto:
Real
TBU_DESCON
Caractere (C)(40)
Descricao
Máscara:
@!
Contexto:
Real
TBU_FORNEC
Caractere (C)(6)
Fornecedor
Máscara:
@!
Contexto:
Real
Consulta F3:
SA2
Validação:
ExistCpo("SA2",M->TBU_FORNEC)
TBU_DESFOR
Caractere (C)(40)
Desc. Forn.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
TBU_FONE
Caractere (C)(15)
Fone
Máscara:
@!
Contexto:
Real
TBU_FAX
Caractere (C)(15)
Fax
Máscara:
@!
Contexto:
Real
TBU_EMAIL
Caractere (C)(50)
End. E-mail
Máscara:
@S40
Contexto:
Real
TBU_ENDERE
Caractere (C)(40)
Endereco
Contexto:
Real

SELECT de exemplo da tabela TBU

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
  TBU.TBU_FILIAL,
  TBU.TBU_CODPLA,
  TBU.TBU_CODCON,
  TBU.TBU_DESCON,
  TBU.TBU_FORNEC,
  TBU.TBU_FONE,
  TBU.TBU_FAX,
  TBU.TBU_EMAIL
FROM TBU010 TBU
WHERE TBU.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.