Tabela T3Z

Info de Apur da Cont Sindical
15camposNome físicoT3Z010(empresa 01)

Campos da tabela T3Z

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

15
CampoDescrição
T3Z_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T3Z_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T3Z_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T3Z_INDAPU
Caractere (C)(1)
Ind Apuracao
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12") .And. XFUNVldUni("T3Z",2,M->T3Z_INDAPU+FWFLDGET("T3Z_PERAPU"))
2 valores possíveis
  • 1Mensal
  • 2Anual (13° Salario)
T3Z_PERAPU
Caractere (C)(6)
Per Apuracao
Máscara:
@R 9999-99
Contexto:
Real
Validação:
XFUNVldUni("T3Z",2,FWFLDGET("T3Z_INDAPU")+M->T3Z_PERAPU)
T3Z_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
T3Z_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
T3Z_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
T3Z_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
T3Z_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
T3Z_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
T3Z_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
T3Z_STASEC
Caractere (C)(1)
Status Sec.
Contexto:
Real
T3Z_DINSIS
Data (D)(8)
Dt Inc. Sist
Contexto:
Real
T3Z_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 T3Z

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
  T3Z.T3Z_FILIAL,
  T3Z.T3Z_ID,
  T3Z.T3Z_VERSAO,
  T3Z.T3Z_INDAPU,
  T3Z.T3Z_PERAPU,
  T3Z.T3Z_PROTUL,
  T3Z.T3Z_PROTPN,
  T3Z.T3Z_STATUS
FROM T3Z010 T3Z
WHERE T3Z.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.