Tabela TT6

Integração Logix x Protheus
6camposNome físicoTT6010(empresa 01)

Campos da tabela TT6

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

CampoDescrição
TT6_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
TT6_PROTHE
Caractere (C)(3)
Tab Protheus
Máscara:
@!
Contexto:
Real
Validação:
ExistCpo("SX2",M->TT6_PROTHE)
TT6_LOGIX
Caractere (C)(30)
Tabela Logix
Máscara:
@!
Contexto:
Real
TT6_DE
Caractere (C)(30)
De Logix
Máscara:
@!
Contexto:
Real
TT6_PARA
Caractere (C)(30)
P/ Protheus
Máscara:
@!
Contexto:
Real
TT6_ORIGEM
Caractere (C)(1)
Origem Inf.
Máscara:
@!
Contexto:
Real
Validação:
Pertence("123")
3 valores possíveis
  • 1Integracao
  • 2Valor Default
  • 3Funcao ADVPL

SELECT de exemplo da tabela TT6

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
  TT6.TT6_FILIAL,
  TT6.TT6_PROTHE,
  TT6.TT6_LOGIX,
  TT6.TT6_DE,
  TT6.TT6_PARA,
  TT6.TT6_ORIGEM
FROM TT6010 TT6
WHERE TT6.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.