Tabela RDK

Cabeçalho de Visões
12camposNome físicoRDK010(empresa 01)

Campos da tabela RDK

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

12
CampoDescrição
RDK_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
RDK_CODIGO
Caractere (C)(6)
Codigo
Máscara:
@!
Contexto:
Real
Validação:
RdkCodigoVld()
RDK_DESC
Caractere (C)(60)
Descricao
Máscara:
@!
Contexto:
Real
Validação:
RdkDescVld()
RDK_HIERAR
Caractere (C)(1)
Hierarquia
Máscara:
9
Contexto:
Real
Validação:
RDKHieVld()
2 valores possíveis
  • 1Organizacional
  • 2Comunicacao
RDK_TIPO
Caractere (C)(1)
Tipo
Máscara:
9
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Operacional
  • 2Apresentacao
RDK_DTINCL
Data (D)(8)
Dt Inclusao
Contexto:
Real
RDK_STATUS
Caractere (C)(1)
Status
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12")
2 valores possíveis
  • 1Ativo
  • 2Suspenso
RDK_DTSUSP
Data (D)(8)
Dt Suspensao
Contexto:
Real
RDK_ENTIDA
Caractere (C)(6)
Cod.Entidade
Máscara:
@!
RDK_CATEG
Caractere (C)(3)
Categoria
Máscara:
@!
Contexto:
Real
RDK_RASCUN
Caractere (C)(6)
Rascunho
Máscara:
@!
Contexto:
Real
RDK_PADRAO
Caractere (C)(1)
Visao Padrao
Máscara:
@!
Validação:
Naovazio()
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela RDK

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
  RDK.RDK_FILIAL,
  RDK.RDK_CODIGO,
  RDK.RDK_DESC,
  RDK.RDK_HIERAR,
  RDK.RDK_TIPO,
  RDK.RDK_DTINCL,
  RDK.RDK_STATUS,
  RDK.RDK_DTSUSP
FROM RDK010 RDK
WHERE RDK.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.