Tabela RC6

Período Profissiográfico
14camposNome físicoRC6010(empresa 01)

Campos da tabela RC6

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

14
CampoDescrição
RC6_FILIAL
Caractere (C)(2)
FILIAL
RC6_MAT
Caractere (C)(6)
Matricula
Consulta F3:
SRA
Validação:
NaoVazio() .And. ExistChav("SRA")
RC6_DATAIN
Data (D)(8)
Dt. Inicio
Validação:
NAOVAZIO()
RC6_DATAFI
Data (D)(8)
Dt. Fim
RC6_CC
Caractere (C)(9)
C. de Custo
Contexto:
Real
Consulta F3:
CTT
Validação:
NaoVazio() .and. ExistCpo("CTT") .AND. A360DESCCPO("RC6_DESCCA",.F.,"SQ3",RC6->RC6_CARGO,"Q3_DESCSUM","RC6_CC")
RC6_CODFUN
Caractere (C)(5)
Cod. Funcao
Consulta F3:
SRJ
Validação:
NaoVazio() .and. ExistCpo("SRJ") .And. a360desccpo("RC6_DESCFU",.F.,"SRJ",RC6->RC6_CODFUN,"RJ_DESC")
RC6_DESCFU
Caractere (C)(30)
Desc.Funcao
RC6_CARGO
Caractere (C)(5)
Cargo
Consulta F3:
SQ3
Validação:
NaoVazio() .And. ExistCpo("SQ3") .And. a360desccpo("RC6_DESCCA",.F.,"SQ3",RC6->RC6_CARGO,"Q3_DESCSUM")
RC6_DESCCA
Caractere (C)(30)
Desc.Cargo
Contexto:
Real
RC6_ATVDES
Caractere (C)(254)
Ativ.Desemp.
Máscara:
@!
Contexto:
Real
RC6_ORIGEM
Caractere (C)(1)
Origem
Máscara:
@!
Contexto:
Real
2 valores possíveis
  • GGERADO
  • IINFORMADO
RC6_GFIP
Caractere (C)(2)
Cod. GFIP
Máscara:
@!
Validação:
NaoVazio()
RC6_DEPTO
Caractere (C)(9)
Cod. Depto.
Máscara:
@!
Contexto:
Real
Validação:
EXISTCPO('SQB')
RC6_POSTO
Caractere (C)(9)
Cod. Posto
Máscara:
@!
Contexto:
Real
Validação:
EXISTCPO('RCL')

SELECT de exemplo da tabela RC6

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
  RC6.RC6_FILIAL,
  RC6.RC6_MAT,
  RC6.RC6_DATAIN,
  RC6.RC6_DATAFI,
  RC6.RC6_CC,
  RC6.RC6_CODFUN,
  RC6.RC6_DESCFU,
  RC6.RC6_CARGO
FROM RC6010 RC6
WHERE RC6.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.