Tabela RCV

CABECALHO DECLARACAO ANUAL
35camposNome físicoRCV010(empresa 01)

Campos da tabela RCV

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

35
CampoDescrição
RCV_FILIAL
Caractere (C)(2)
Filial
RCV_MAT
Caractere (C)(6)
Matricula
Máscara:
999999
Contexto:
Real
Validação:
NaoVazio() .And. Val(M->RCV_MAT) > 0
RCV_RFC
Caractere (C)(13)
RFC
Máscara:
@!
Contexto:
Real
Validação:
NaoVazio()
RCV_CURP
Caractere (C)(18)
C.U.R.P.
Máscara:
@!
Contexto:
Real
Validação:
NaoVazio()
RCV_ANO
Caractere (C)(4)
Ano
Máscara:
9999
Contexto:
Real
RCV_MESINI
Caractere (C)(2)
Mes Inicial
Máscara:
99
Validação:
Entre('01','12')
RCV_MESFIN
Caractere (C)(2)
Mes Final
Máscara:
99
Contexto:
Real
Validação:
Entre('01','12')
RCV_PRINOM
Caractere (C)(35)
Prim. Nome
Máscara:
@!
Contexto:
Real
RCV_SEGNOM
Caractere (C)(35)
Seg. Nome
Máscara:
@!
Contexto:
Real
RCV_PRISOB
Caractere (C)(35)
Sobr.Materno
Máscara:
@!
Contexto:
Real
RCV_SEGSOB
Caractere (C)(35)
Sobr.Paterno
Máscara:
@!
Contexto:
Real
RCV_RFCFON
Caractere (C)(13)
RFC Fte Pag.
Máscara:
@!
Contexto:
Real
RCV_NOMFON
Caractere (C)(60)
Nom.Fte.Pag.
Máscara:
@!
Contexto:
Real
RCV_CVEZON
Caractere (C)(1)
Cod.Zn.Econ.
Máscara:
@!
Contexto:
Real
Validação:
ValidRcc('S006',M->RCV_CVEZON,1,1)
RCV_EMCALA
Caractere (C)(1)
Emp.Calc.An.
Máscara:
@!
Contexto:
Real
RCV_SINDIC
Caractere (C)(1)
Sindicaliz.
Máscara:
@!
Contexto:
Real
RCV_KEYLOC
Caractere (C)(4)
Cod.Loc.Pag
Máscara:
@!
Contexto:
Real
Validação:
ValidRcc('S015',M->RCV_KEYLOC,1,4)
RCV_NOMREP
Caractere (C)(40)
Nome Rep.Leg
Máscara:
@!
Contexto:
Real
RCV_RFCREP
Caractere (C)(13)
RFC Rep. Leg
Máscara:
@!
Contexto:
Real
RCV_CURPRE
Caractere (C)(18)
CURP Rep.Leg
Máscara:
@!
Contexto:
Real
RCV_NUMDIA
Caractere (C)(3)
Numero Dias
Máscara:
999
Contexto:
Real
RCV_NUMANO
Caractere (C)(2)
Numero Anos
Máscara:
99
Contexto:
Real
RCV_PROAPL
Numérico (N)(6,4)
Prop.Aplicad
Máscara:
@E 9.9999
Contexto:
Real
RCV_CLASIM
Caractere (C)(1)
Chave Assim.
Máscara:
@!
Contexto:
Real
6 valores possíveis
  • AMembros Soc.coop.prod.
  • BInt.Soc.e Assoc.Civ.
  • CMembros Cons.Dir.Vig.Con.Com.
  • DAtiv.Emp.
  • EHon.Assim.Sal.
  • FOutros
RCV_RFCOT1
Caractere (C)(13)
RFC Outr. 01
Máscara:
@!
Contexto:
Real
RCV_RFCOT2
Caractere (C)(13)
RFC Outr. 02
Máscara:
@!
Contexto:
Real
RCV_RFCOT3
Caractere (C)(13)
RFC Outr. 03
Máscara:
@!
Contexto:
Real
RCV_RFCOT4
Caractere (C)(13)
RFC Outr. 04
Máscara:
@!
Contexto:
Real
RCV_RFCOT5
Caractere (C)(13)
RFC Outr. 05
Máscara:
@!
Contexto:
Real
RCV_RFCOT6
Caractere (C)(13)
RFC Outr. 06
Máscara:
@!
Contexto:
Real
RCV_RFCOT7
Caractere (C)(13)
RFC Outr. 07
Máscara:
@!
Contexto:
Real
RCV_RFCOT8
Caractere (C)(13)
RFC Outr. 08
Máscara:
@!
Contexto:
Real
RCV_RFCOT9
Caractere (C)(13)
RFC Outr. 09
Máscara:
@!
Contexto:
Real
RCV_RFCOTA
Caractere (C)(13)
RFC Outr. 10
Máscara:
@!
Contexto:
Real
RCV_STATUS
Caractere (C)(1)
Estado
Máscara:
@!
Contexto:
Real
Validação:
Pertence('SU')
2 valores possíveis
  • SSistema
  • UUsuario

SELECT de exemplo da tabela RCV

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
  RCV.RCV_FILIAL,
  RCV.RCV_MAT,
  RCV.RCV_RFC,
  RCV.RCV_CURP,
  RCV.RCV_ANO,
  RCV.RCV_MESINI,
  RCV.RCV_MESFIN,
  RCV.RCV_PRINOM
FROM RCV010 RCV
WHERE RCV.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.