Tabela CKW

Ajustes CPRB
10camposNome físicoCKW010(empresa 01)

Campos da tabela CKW

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

10
CampoDescrição
CKW_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CKW_PER
Data (D)(8)
Per.Apur.
Contexto:
Real
CKW_TPAJU
Caractere (C)(1)
Tp. Ajuste
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 01")
2 valores possíveis
  • 0Reducao
  • 1Acrescimo
CKW_CODREC
Caractere (C)(6)
Cod.Receita
Máscara:
@!
Contexto:
Real
CKW_VLAJU
Numérico (N)(14,2)
Vl Ajuste
Máscara:
@E 99,999,999,999.99
Contexto:
Real
CKW_CODAJU
Caractere (C)(2)
Cod.Ajuste
Máscara:
@!
Contexto:
Real
CKW_NUM
Caractere (C)(50)
Numero
Máscara:
@!
Contexto:
Real
CKW_DESCR
Caractere (C)(100)
Descricao
Máscara:
@!
Contexto:
Real
CKW_DTREF
Data (D)(8)
Dt. Refer.
Contexto:
Real
CKW_CONSOL
Caractere (C)(1)
Consolidado
Máscara:
@!
Contexto:
Real
Validação:
Pertence(" 12")
2 valores possíveis
  • 1Sim
  • 2Nao

SELECT de exemplo da tabela CKW

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
  CKW.CKW_FILIAL,
  CKW.CKW_PER,
  CKW.CKW_TPAJU,
  CKW.CKW_CODREC,
  CKW.CKW_VLAJU,
  CKW.CKW_CODAJU,
  CKW.CKW_NUM,
  CKW.CKW_DESCR
FROM CKW010 CKW
WHERE CKW.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.