Tabela T0F

Alteração Informação TSV
55camposNome físicoT0F010(empresa 01)

Campos da tabela T0F

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

55
CampoDescrição
T0F_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
T0F_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
T0F_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
T0F_NOME
Caractere (C)(70)
Nome
Máscara:
@!
Contexto:
Real
T0F_CPF
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Real
Validação:
xFunVldPJF(,1,.F.) .And. XFUNVldUni("T0F",3,M->T0F_CPF+ DTOS(FWFLDGET("T0F_DTALT"))+'1')
T0F_DTALT
Data (D)(8)
Dt.Alteracao
Contexto:
Real
Validação:
XFUNVldUni("T0F",3,FWFLDGET("T0F_CPF") + DTOS(M->T0F_DTALT) +'1')
T0F_NATATV
Caractere (C)(1)
Nat Atividad
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Trabalhador Urbano
  • 2Trabalhador Rural
T0F_CARCI
Caractere (C)(6)
Id. Cargo
Máscara:
@!
Contexto:
Real
Consulta F3:
C8V
Validação:
xFunVldCmp("C8V",,,,2,,.F.)
T0F_DCARCI
Caractere (C)(220)
Descr. Cargo
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_CATAV
Caractere (C)(6)
Id. Categ.
Máscara:
@!
Contexto:
Real
Consulta F3:
C87
Validação:
xFunVldCmp("C87",,,,2,.F.)
T0F_DCATAV
Caractere (C)(220)
Descr. Categ
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_VLSLCI
Numérico (N)(16,2)
Vlr Sal Fixo
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
T0F_UNSLCI
Caractere (C)(1)
Uni Sal Fixo
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 1234567")
7 valores possíveis
  • 1Por Hora
  • 2Por Dia
  • 3Por Semana
  • 4Por Quinzena
  • 5Por Mes
  • 6Por Tarefa
  • 7Nao aplicavel - salario exclusivamente variavel.
T0F_DSVRCI
Caractere (C)(254)
Desc Sal Var
Máscara:
@!
Contexto:
Real
T0F_NATEES
Caractere (C)(1)
Nat. Estagio
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" ON")
2 valores possíveis
  • OObrigatorio
  • NNao Obrigatorio
T0F_NIVEES
Caractere (C)(1)
Niv. Estagio
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123489")
6 valores possíveis
  • 1Fundamental
  • 2Medio
  • 3Formacao Profissional
  • 4Superior
  • 8Especial
  • 9Mae Social
T0F_AREAES
Caractere (C)(50)
Area Atuacao
Máscara:
@!
Contexto:
Real
T0F_NRAPES
Caractere (C)(30)
Nr. Apolice
Máscara:
@!
Contexto:
Real
T0F_VLBLES
Numérico (N)(16,2)
Vlr. Bolsa
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
T0F_DTTEES
Data (D)(8)
Dt Prev Term
Contexto:
Real
T0F_CNPEES
Caractere (C)(14)
CNPJ Ins Ens
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
Validação:
xFunVldPJF(,2,.F.)
T0F_NOMEES
Caractere (C)(100)
Nome Ins Ens
Máscara:
@!
Contexto:
Real
T0F_LOGEES
Caractere (C)(100)
Log Inst Ens
Máscara:
@!
Contexto:
Real
T0F_NLGEES
Caractere (C)(10)
Nr Log Inst
Máscara:
@!
Contexto:
Real
T0F_BAREES
Caractere (C)(90)
Bairro Inst.
Máscara:
@!
Contexto:
Real
T0F_CEPES
Caractere (C)(8)
CEP Ag. Int.
Máscara:
@R 99999-999
Contexto:
Real
T0F_MUNES
Caractere (C)(6)
Id. Mun. Ag.
Máscara:
@!
Contexto:
Real
Consulta F3:
C07
Validação:
xFunVldCmp("C07",3)
T0F_DMUNES
Caractere (C)(220)
Desc Mun Ag
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_UFES
Caractere (C)(6)
Id. UF Ag.
Máscara:
@!
Contexto:
Real
Consulta F3:
C09
Validação:
xFunVldCmp("C09",3)
T0F_DUFES
Caractere (C)(220)
Des UF Inst.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_CNPAES
Caractere (C)(14)
CNPJ Ag. Int
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
T0F_NOMAES
Caractere (C)(100)
Nome Ag. Int
Máscara:
@!
Contexto:
Real
T0F_LOGAES
Caractere (C)(100)
Log. Ag. Int
Máscara:
@!
Contexto:
Real
T0F_NLGAES
Caractere (C)(10)
Nr. Log. Ag.
Máscara:
@!
Contexto:
Real
T0F_BARAES
Caractere (C)(90)
Bairro Ag.
Máscara:
@!
Contexto:
Real
T0F_CEPAES
Caractere (C)(8)
CEP Ag. Int.
Máscara:
@!
Contexto:
Real
T0F_MUNAES
Caractere (C)(6)
Id. Mun. Ag.
Máscara:
@!
Contexto:
Real
Consulta F3:
C07
Validação:
xFunVldCmp("C07",3)
T0F_DMUNAE
Caractere (C)(220)
Desc Mun Ag
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_UFAES
Caractere (C)(6)
Id. UF Ag.
Máscara:
@!
Contexto:
Real
Consulta F3:
C09
Validação:
xFunVldCmp("C09",3)
T0F_DUFAES
Caractere (C)(220)
Descr. UF Ag
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_CPFCES
Caractere (C)(11)
CPF Sup. Est
Máscara:
@R 999.999.999-99
Contexto:
Real
T0F_NOMCES
Caractere (C)(70)
Nome Sup.
Máscara:
@!
Contexto:
Real
T0F_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
T0F_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
T0F_STATUS
Caractere (C)(1)
Status Reg.
Máscara:
@!
Contexto:
Real
T0F_VERANT
Caractere (C)(14)
Ver Ant Reg.
Máscara:
@!
Contexto:
Real
T0F_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • 1Sim
  • 2Nao
T0F_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
T0F_NIS
Caractere (C)(11)
NIS
Máscara:
@!
Contexto:
Real
T0F_FUNCI
Caractere (C)(6)
Id. Funcao
Máscara:
@!
Contexto:
Real
Consulta F3:
C8X
Validação:
xFunVldCmp("C8X",,,,2,,.F.)
T0F_DFUNCI
Caractere (C)(220)
Descr Funcao
Máscara:
@!
Contexto:
Virtual (não existe no banco)
T0F_STASEC
Caractere (C)(1)
StatusSecund
Máscara:
@!
Contexto:
Real
T0F_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
T0F_DINSIS
Data (D)(8)
Dt Inc Sist
Contexto:
Real
T0F_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 T0F

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
  T0F.T0F_FILIAL,
  T0F.T0F_ID,
  T0F.T0F_VERSAO,
  T0F.T0F_NOME,
  T0F.T0F_CPF,
  T0F.T0F_DTALT,
  T0F.T0F_NATATV,
  T0F.T0F_CARCI
FROM T0F010 T0F
WHERE T0F.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.