Tabela T2A

Contrat. Trab. Avulsos
15camposNome físicoT2A010(empresa 01)

Campos da tabela T2A

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

15
CampoDescrição
T2A_FILIAL
Caractere (C)(2)
Filial
T2A_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T2A_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T2A_INDAPU
Caractere (C)(1)
Ind.Per.Apur
Máscara:
@!
Contexto:
Real
1 valores possíveis
  • 1Mensal
T2A_PERAPU
Caractere (C)(6)
Per.Apuracao
Máscara:
@R 9999-99
Contexto:
Real
Validação:
XFUNVldUni("T2A",2,FWFLDGET("T2A_INDAPU")+M->T2A_PERAPU)
T2A_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IA")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
T2A_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 0123479")
T2A_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
T2A_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
T2A_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
T2A_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
T2A_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
T2A_STASEC
Caractere (C)(1)
Status Sec.
Contexto:
Real
T2A_DINSIS
Data (D)(8)
Dt Inc. Sist
Contexto:
Real
T2A_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 T2A

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
  T2A.T2A_FILIAL,
  T2A.T2A_ID,
  T2A.T2A_VERSAO,
  T2A.T2A_INDAPU,
  T2A.T2A_PERAPU,
  T2A.T2A_EVENTO,
  T2A.T2A_STATUS,
  T2A.T2A_VERANT
FROM T2A010 T2A
WHERE T2A.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.