Tabela T9T

Tipo de Ajuste
8camposNome físicoT9T010(empresa 01)

Campos da tabela T9T

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

CampoDescrição
T9T_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T9T_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T9T_TPAJUS
Caractere (C)(1)
Tipo Ajuste
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 01")
2 valores possíveis
  • 0Ajuste de reducao
  • 1Ajuste de acrescimo
T9T_CODAJU
Caractere (C)(2)
Cod Ajuste
Máscara:
@!
Validação:
Pertence(" 0102030405060708091011")
1 valores possíveis
  • #CboCodAjus()
T9T_VLRAJU
Numérico (N)(14,2)
Valor Ajuste
Máscara:
@E 99,999,999,999.99
Contexto:
Real
T9T_DESCAJ
Caractere (C)(20)
Desc Ajuste
Máscara:
@!
Contexto:
Real
T9T_DTAJUS
Caractere (C)(6)
Data Ajuste
Máscara:
@R 99-9999
Contexto:
Real
Validação:
XFUNVldDt()
T9T_CODSEQ
Caractere (C)(36)
Cod. Sequenc
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela T9T

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
  T9T.T9T_FILIAL,
  T9T.T9T_ID,
  T9T.T9T_TPAJUS,
  T9T.T9T_CODAJU,
  T9T.T9T_VLRAJU,
  T9T.T9T_DESCAJ,
  T9T.T9T_DTAJUS,
  T9T.T9T_CODSEQ
FROM T9T010 T9T
WHERE T9T.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.