Tabela RCW

ITENS DA DECLARACAO ANUAL
9camposNome físicoRCW010(empresa 01)

Campos da tabela RCW

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

9
CampoDescrição
RCW_FILIAL
Caractere (C)(2)
Filial
RCW_MAT
Caractere (C)(6)
Matricula
Máscara:
999999
Contexto:
Real
Validação:
NaoVazio()
RCW_RFC
Caractere (C)(13)
RFC
Máscara:
@!
Contexto:
Real
RCW_ANO
Caractere (C)(4)
Ano Base
Máscara:
9999
Contexto:
Real
RCW_MESINI
Caractere (C)(2)
Mes Inicial
Máscara:
99
Contexto:
Real
RCW_MESFIN
Caractere (C)(2)
Mes Final
Máscara:
99
Contexto:
Real
Validação:
Entre('01','12')
RCW_MES
Caractere (C)(2)
Mes Pagto
Máscara:
99
Contexto:
Real
Validação:
Entre('01','12')
RCW_TIPORE
Caractere (C)(4)
Tipo Renda
Máscara:
@!
Contexto:
Real
Consulta F3:
TBM
RCW_VALOR
Numérico (N)(15,2)
Valor
Máscara:
@E 999,999,999,999.99
Contexto:
Real
Validação:
Positivo()

SELECT de exemplo da tabela RCW

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
  RCW.RCW_FILIAL,
  RCW.RCW_MAT,
  RCW.RCW_RFC,
  RCW.RCW_ANO,
  RCW.RCW_MESINI,
  RCW.RCW_MESFIN,
  RCW.RCW_MES,
  RCW.RCW_TIPORE
FROM RCW010 RCW
WHERE RCW.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.