Tabela CHP

Dem. Rendas Ativas e Passivas
10camposNome físicoCHP010(empresa 01)

Campos da tabela CHP

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

10
CampoDescrição
CHP_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CHP_ID
Caractere (C)(36)
ID
Contexto:
Real
CHP_CODSEQ
Caractere (C)(6)
Cod Seq
Máscara:
@!
Contexto:
Real
CHP_RENPAS
Numérico (N)(16,2)
Rend Passiva
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_RENPRE
Numérico (N)(16,2)
Rend P.Reais
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_RENTOT
Numérico (N)(16,2)
Renda Total
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_RENTRE
Numérico (N)(16,2)
Renda Tot Re
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_RENATV
Numérico (N)(16,2)
Renda Ativa
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_RENARE
Numérico (N)(16,2)
Rend Ativa R
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHP_PERCEN
Numérico (N)(16,2)
Percentual
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real

SELECT de exemplo da tabela CHP

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
  CHP.CHP_FILIAL,
  CHP.CHP_ID,
  CHP.CHP_CODSEQ,
  CHP.CHP_RENPAS,
  CHP.CHP_RENPRE,
  CHP.CHP_RENTOT,
  CHP.CHP_RENTRE,
  CHP.CHP_RENATV
FROM CHP010 CHP
WHERE CHP.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.