Tabela T1S

Reabertura Eventos Periódicos
13camposNome físicoT1S010(empresa 01)

Campos da tabela T1S

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

13
CampoDescrição
T1S_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T1S_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T1S_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T1S_INDAPU
Caractere (C)(1)
Ind.Apuracao
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Mensal
  • 2Anual (13° Salario)
T1S_PERAPU
Caractere (C)(6)
Per.Apuracao
Máscara:
@R 9999-99
Contexto:
Real
T1S_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
T1S_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
T1S_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
T1S_VERANT
Caractere (C)(14)
Ver. Ant.Reg
Máscara:
@!
Contexto:
Real
T1S_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
T1S_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
T1S_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
T1S_LOGOPE
Caractere (C)(1)
Log Operacao
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • 1Incl.Integr
  • 2Incl.Manual
  • 3Incl.Integr+Alt.Integr
  • 4Incl.Integr+Alt.Manual
  • 5Incl.Manual+Alt.Integr
  • 6Incl.Manual+Alt.Manual

SELECT de exemplo da tabela T1S

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
  T1S.T1S_FILIAL,
  T1S.T1S_ID,
  T1S.T1S_VERSAO,
  T1S.T1S_INDAPU,
  T1S.T1S_PERAPU,
  T1S.T1S_PROTUL,
  T1S.T1S_PROTPN,
  T1S.T1S_STATUS
FROM T1S010 T1S
WHERE T1S.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.