Tabela CL7

Detalhamento Regime Caixa
13camposNome físicoCL7010(empresa 01)

Campos da tabela CL7

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

13
CampoDescrição
CL7_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CL7_PER
Data (D)(8)
Per.Apur.
Contexto:
Real
CL7_VLREC
Numérico (N)(14,2)
Vl.Receita
Máscara:
@E 99,999,999,999.99
Contexto:
Real
CL7_CNPJ
Caractere (C)(14)
CNPJ Part.
Máscara:
@!
Contexto:
Real
CL7_NUMDOC
Caractere (C)(60)
Num.Doc.
Máscara:
@!
Contexto:
Real
CL7_CDITEM
Caractere (C)(60)
Cod.Item
Máscara:
@!
Contexto:
Real
CL7_VLRECD
Numérico (N)(14,2)
Vl.Rec.Det
Máscara:
@E 99,999,999,999.99
Contexto:
Real
CL7_CSTPIS
Caractere (C)(2)
CST PIS
Máscara:
@!
Contexto:
Real
CL7_CSTCOF
Caractere (C)(2)
CST COF
Máscara:
@!
Contexto:
Real
CL7_INFCOM
Caractere (C)(100)
Inf.Compl.
Máscara:
@!
Contexto:
Real
CL7_CODCTA
Caractere (C)(20)
Codigo CTA
Máscara:
@!
Contexto:
Real
CL7_INDREC
Caractere (C)(2)
Ind.Receita
Máscara:
@!
Contexto:
Real
CL7_FILAPU
Caractere (C)(2)
Fil.Apur.
Contexto:
Real

SELECT de exemplo da tabela CL7

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
  CL7.CL7_FILIAL,
  CL7.CL7_PER,
  CL7.CL7_VLREC,
  CL7.CL7_CNPJ,
  CL7.CL7_NUMDOC,
  CL7.CL7_CDITEM,
  CL7.CL7_VLRECD,
  CL7.CL7_CSTPIS
FROM CL7010 CL7
WHERE CL7.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.