Tabela CMF

Reintegração
26camposNome físicoCMF010(empresa 01)

Campos da tabela CMF

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

26
CampoDescrição
CMF_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CMF_NOMEV
Caractere (C)(70)
Nome
Contexto:
Virtual (não existe no banco)
CMF_CPFV
Caractere (C)(11)
CPF
Máscara:
@R 999.999.999-99
Contexto:
Virtual (não existe no banco)
CMF_FUNC
Caractere (C)(6)
Id. Func.
Máscara:
@!
Contexto:
Real
Consulta F3:
C9V
Validação:
xFunVldCmp("C9V",,,,2,,,) .and. xFunVldUni("CMF",2,M->CMF_FUNC+DTOS(FwFldGet("CMF_DTRET"))+"1")
CMF_DFUNC
Caractere (C)(220)
Nome Func.
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CMF_TPREIN
Caractere (C)(1)
Tp. Reintegr
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 123459")
6 valores possíveis
  • 1Reinteg. por Dec. Jud.
  • 2Reinteg. por Anist. Legal
  • 3Reversao de Serv. Pub.
  • 4Recond. de Serv. Pub.
  • 5Reincl. de Mil.
  • 9Outros
CMF_NRPROC
Caractere (C)(20)
Proc. Judic.
Máscara:
@!
Contexto:
Real
CMF_DNRPRO
Caractere (C)(220)
Descr Proces
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CMF_NRLEIJ
Caractere (C)(13)
Lei Anistia
Máscara:
@!
Contexto:
Real
CMF_DTEFEI
Data (D)(8)
Dt. Efeito
Contexto:
Real
CMF_DTRET
Data (D)(8)
Dt. Retorno
Contexto:
Real
Validação:
xFunVldUni("CMF",2,FwFldGet("CMF_FUNC")+DTOS(M->CMF_DTRET)+"1")
CMF_VERANT
Caractere (C)(14)
Ver Ant Reg
Máscara:
@!
Contexto:
Real
CMF_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
CMF_PROTUL
Caractere (C)(44)
Ult. Prot.
Máscara:
@!
Contexto:
Real
CMF_PROTPN
Caractere (C)(44)
Pnlt. Prot.
Máscara:
@!
Contexto:
Real
CMF_EVENTO
Caractere (C)(1)
Id. Evento
Máscara:
@!
Contexto:
Real
Validação:
Pertence("IAE")
3 valores possíveis
  • IInclusao
  • AAlteracao
  • EExclusao
CMF_ATIVO
Caractere (C)(1)
Reg. Ativo?
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Sim
  • 2Nao
CMF_INDPGJ
Caractere (C)(1)
Ind. Pgto Ju
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao
CMF_STASEC
Caractere (C)(1)
Status Sec.
Contexto:
Real
CMF_XMLID
Caractere (C)(36)
Id do XML.
Contexto:
Real
CMF_DINSIS
Data (D)(8)
Dt Inc. Sist
Contexto:
Real
CMF_VERSAO
Caractere (C)(14)
Id. Ver. Reg
Máscara:
@!
Contexto:
Real
CMF_NISV
Caractere (C)(11)
NIS
Contexto:
Virtual (não existe no banco)
CMF_MATV
Caractere (C)(30)
Matricula
Contexto:
Virtual (não existe no banco)
CMF_ID
Caractere (C)(6)
ID
Máscara:
@!
Contexto:
Real
CMF_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 CMF

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
  CMF.CMF_FILIAL,
  CMF.CMF_FUNC,
  CMF.CMF_TPREIN,
  CMF.CMF_NRPROC,
  CMF.CMF_NRLEIJ,
  CMF.CMF_DTEFEI,
  CMF.CMF_DTRET,
  CMF.CMF_VERANT
FROM CMF010 CMF
WHERE CMF.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.