Tabela RCS

Inform Complem DIRF
16camposNome físicoRCS010(empresa 01)

Campos da tabela RCS

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

16
CampoDescrição
RCS_FILIAL
Caractere (C)(2)
Filial
RCS_MAT
Caractere (C)(6)
Matricula
Máscara:
999999
Contexto:
Real
RCS_TIPOFJ
Caractere (C)(1)
Tipo Fis/Jur
Máscara:
@!
Contexto:
Real
RCS_CPFBEN
Caractere (C)(14)
CPF/CGC
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
RCS_CODRET
Caractere (C)(4)
Cod.Retencao
Máscara:
9999
Contexto:
Real
RCS_ANO
Caractere (C)(4)
Ano Competen
Máscara:
@9999
Contexto:
Real
RCS_NOME
Caractere (C)(30)
Nome
Máscara:
@!
Contexto:
Real
RCS_CPFCGC
Caractere (C)(14)
CPF COMPLEM
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
RCS_VERBA
Caractere (C)(3)
Verba
Máscara:
@!
Contexto:
Real
Consulta F3:
SRV
Validação:
a560ValidPD()
RCS_TIPORE
Caractere (C)(2)
Tipo Renda
Máscara:
@!
Contexto:
Real
Consulta F3:
36
RCS_DESCRI
Caractere (C)(150)
Detalhe
Contexto:
Real
RCS_OUTROS
Caractere (C)(60)
Espec.Outros
Máscara:
@!
Contexto:
Real
RCS_VALOR
Numérico (N)(12,2)
Valor
Máscara:
@E 999,999,999.99
Contexto:
Real
RCS_ORIGEM
Caractere (C)(1)
ORIGEM
Máscara:
@!
RCS_INMED
Caractere (C)(14)
Prest.(CPF/C
Máscara:
@R 99.999.999/9999-99
Contexto:
Real
RCS_NOMED
Caractere (C)(150)
Nome Prest.S
Contexto:
Real

SELECT de exemplo da tabela RCS

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
  RCS.RCS_FILIAL,
  RCS.RCS_MAT,
  RCS.RCS_TIPOFJ,
  RCS.RCS_CPFBEN,
  RCS.RCS_CODRET,
  RCS.RCS_ANO,
  RCS.RCS_NOME,
  RCS.RCS_CPFCGC
FROM RCS010 RCS
WHERE RCS.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.