Tabela CW8

HISTORICO DE ALTERAÇÕES
15camposNome físicoCW8010(empresa 01)

Campos da tabela CW8

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

15
CampoDescrição
CW8_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CW8_FILTAB
Caractere (C)(2)
Fil. Entidad
Contexto:
Real
CW8_TABELA
Caractere (C)(3)
Entidade
Máscara:
@!
Contexto:
Real
CW8_CODIGO
Caractere (C)(70)
Codigo
Máscara:
@!
Contexto:
Real
CW8_GRUPO
Caractere (C)(9)
Grupo/Nat.
Máscara:
@!
Contexto:
Real
CW8_CAMPO
Caractere (C)(10)
Campo
Máscara:
@!
Contexto:
Real
CW8_SEQ
Caractere (C)(6)
Sequencia
Máscara:
@!
Contexto:
Real
CW8_TIPCPO
Caractere (C)(1)
Tipo Campo
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12345")
5 valores possíveis
  • 1Caracter
  • 2Numerico
  • 3Logico
  • 4Data
  • 5Memo
CW8_TITULO
Caractere (C)(12)
Titulo
Máscara:
@!
Contexto:
Real
CW8_VALANT
Caractere (C)(60)
Valor Ant.
Máscara:
@!
Contexto:
Real
CW8_VALNOV
Caractere (C)(60)
Valor Novo
Máscara:
@!
Contexto:
Real
CW8_DATA
Data (D)(8)
Data Alt.
Contexto:
Real
CW8_HORA
Caractere (C)(5)
Hora
Máscara:
@R 99:99
Contexto:
Real
CW8_OPC
Caractere (C)(1)
Codigo Opcao
Máscara:
@!
Contexto:
Real
Validação:
Pertence("12345")
5 valores possíveis
  • 1Pequisa
  • 2Visualizacao
  • 3Inclusao
  • 4Alteracao
  • 5Exclusao
CW8_HISTOR
Caractere (C)(6)
Code Hist.
Máscara:
@!
Contexto:
Real

SELECT de exemplo da tabela CW8

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
  CW8.CW8_FILIAL,
  CW8.CW8_FILTAB,
  CW8.CW8_TABELA,
  CW8.CW8_CODIGO,
  CW8.CW8_GRUPO,
  CW8.CW8_CAMPO,
  CW8.CW8_SEQ,
  CW8.CW8_TIPCPO
FROM CW8010 CW8
WHERE CW8.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.