Tabela T3V

Informações de Subst. Patronal
19camposNome físicoT3V010(empresa 01)

Campos da tabela T3V

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

19
CampoDescrição
T3V_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T3V_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T3V_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T3V_INDPAT
Caractere (C)(1)
Ind.Sub.Patr
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Integralmente substituida
  • 2Parcialmente substituida.
T3V_PRCONT
Numérico (N)(6,2)
Per.Red.Cont
Máscara:
@E 999.99
Contexto:
Real
T3V_FATMES
Numérico (N)(6,2)
Fator Mes
Máscara:
@E 999.99
Contexto:
Real
T3V_FAT13
Numérico (N)(6,2)
Fator 13º
Máscara:
@E 999.99
Contexto:
Real
T3V_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
T3V_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 inconsistencia
  • 4Reg.Transmitido valido
  • 9Em Processamento
T3V_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
T3V_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
T3V_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
T3V_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
T3V_INDAPU
Caractere (C)(1)
Ind.Per.Apur
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12") .And. xFunVldUni("T3V",4,M->T3V_INDAPU+FWFLDGET("T3V_PERAPU"))
2 valores possíveis
  • 1Mensal
  • 2Anual (13° salario)
T3V_PERAPU
Caractere (C)(6)
Per.Apuracao
Máscara:
@R !!!!-!!
Contexto:
Real
Validação:
xFunVldUni("T3V",4, FWFLDGET("T3V_INDAPU")+M->T3V_PERAPU+"1")
T3V_XMLID
Caractere (C)(36)
Id do XML
Contexto:
Real
T3V_STASEC
Caractere (C)(1)
Status Sec.
Contexto:
Real
T3V_DINSIS
Data (D)(8)
Dt Inc. Sist
Contexto:
Real
T3V_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 T3V

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
  T3V.T3V_FILIAL,
  T3V.T3V_ID,
  T3V.T3V_VERSAO,
  T3V.T3V_INDPAT,
  T3V.T3V_PRCONT,
  T3V.T3V_FATMES,
  T3V.T3V_FAT13,
  T3V.T3V_VERANT
FROM T3V010 T3V
WHERE T3V.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.