Tabela CHL

Dem.Res. Imp Pagos Exterior
17camposNome físicoCHL010(empresa 01)

Campos da tabela CHL

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

17
CampoDescrição
CHL_ID
Caractere (C)(36)
ID
Contexto:
Real
CHL_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CHL_CODSEQ
Caractere (C)(6)
Cod Seq
Máscara:
@!
Contexto:
Real
CHL_RESINV
Numérico (N)(16,2)
Res Invest
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESPOS
Numérico (N)(16,2)
Res Pos
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESOPE
Numérico (N)(16,2)
Res Inv Op
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESREP
Numérico (N)(16,2)
Res Repetro
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESNEG
Numérico (N)(16,2)
Res Neg
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESPTB
Numérico (N)(16,2)
Res a Tribut
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_RESPTR
Numérico (N)(16,2)
Res P Trib R
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPPAG
Numérico (N)(16,2)
Imp Pago
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPPGR
Numérico (N)(16,2)
Imp Pg Reais
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPREN
Numérico (N)(16,2)
Imp Pago Ext
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPRER
Numérico (N)(16,2)
Imp Pago Ren
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPREX
Numérico (N)(16,2)
Imp Ret Ext
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPRRE
Numérico (N)(16,2)
Imp Ret Real
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real
CHL_IMPRBR
Numérico (N)(16,2)
Imp Ret BR
Máscara:
@E 9,999,999,999,999.99
Contexto:
Real

SELECT de exemplo da tabela CHL

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
  CHL.CHL_ID,
  CHL.CHL_FILIAL,
  CHL.CHL_CODSEQ,
  CHL.CHL_RESINV,
  CHL.CHL_RESPOS,
  CHL.CHL_RESOPE,
  CHL.CHL_RESREP,
  CHL.CHL_RESNEG
FROM CHL010 CHL
WHERE CHL.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.