Tabela T62

Benefícios Previdenciários
14camposNome físicoT62010(empresa 01)

Campos da tabela T62

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

14
CampoDescrição
T62_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T62_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T62_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T62_INDAPU
Caractere (C)(1)
Ind.Per.Apur
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12") .and. XFUNVldUni("T62",2,M->T62_INDAPU+FWFLDGET("T62_PERAPU")+FWFLDGET("T62_CPF")+"1")
2 valores possíveis
  • 1Folha de Pagamento Mensal
  • 2Folha de Decimo Terceiro Salario
T62_PERAPU
Caractere (C)(6)
Per.Apuracao
Máscara:
@R 9999-99
Contexto:
Real
Validação:
XFUNVldUni("T62",2,FWFLDGET("T62_INDAPU")+M->T62_PERAPU+FWFLDGET("T62_CPF"))
T62_CPF
Caractere (C)(11)
CPF Benef.
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
xFunVldPJF(,1,.F.) .And. XFUNVldUni("T62",2,FWFLDGET("T62_INDAPU" )+FWFLDGET("T62_PERAPU")+M->T62_CPF)
T62_VERANT
Caractere (C)(14)
Id. Ver. Ant
Máscara:
@!
Contexto:
Real
T62_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 012349")
6 valores possíveis
  • 0Reg.Valido
  • 1Reg.Invalido
  • 2Reg.Transmitido
  • 3Reg.Transmitido com inconsistencias
  • 4Reg.Transmitido valido
  • 9Em Processamento
T62_PROTUL
Caractere (C)(44)
Ult.Prot.Tr.
Máscara:
@!
Contexto:
Real
T62_PROTPN
Caractere (C)(44)
Pnlt.Prot.Tr
Máscara:
@!
Contexto:
Real
T62_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
T62_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
T62_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
T62_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 T62

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
  T62.T62_FILIAL,
  T62.T62_ID,
  T62.T62_VERSAO,
  T62.T62_INDAPU,
  T62.T62_PERAPU,
  T62.T62_CPF,
  T62.T62_VERANT,
  T62.T62_STATUS
FROM T62010 T62
WHERE T62.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.