Tabela TRT

O.S. VEICULOS ACIDENTADOS
6camposNome físicoTRT010(empresa 01)

Campos da tabela TRT

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

CampoDescrição
TRT_FILIAL
Caractere (C)(2)
Filial
TRT_NUMOS
Caractere (C)(6)
Numero O.S.
Máscara:
@!
Contexto:
Real
TRT_PLANO
Caractere (C)(6)
Plano
Máscara:
@!
Contexto:
Real
TRT_NUMSIN
Caractere (C)(6)
Sinistro
Máscara:
@!
Contexto:
Real
TRT_PARECE
Memo (M)(80)
Parecer
Máscara:
@!
Contexto:
Real
TRT_MMSYP
Caractere (C)(6)
ChaveMM SYP
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela TRT

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
  TRT.TRT_FILIAL,
  TRT.TRT_NUMOS,
  TRT.TRT_PLANO,
  TRT.TRT_NUMSIN,
  TRT.TRT_PARECE,
  TRT.TRT_MMSYP
FROM TRT010 TRT
WHERE TRT.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.