Tabela DW6

ITENS TIPO DA NEGOCIACAO
13camposNome físicoDW6010(empresa 01)

Campos da tabela DW6

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

13
CampoDescrição
DW6_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
DW6_CODNEG
Caractere (C)(2)
Cod.Negocic.
Máscara:
@!
Contexto:
Real
DW6_CONSIT
Caractere (C)(1)
Cons.Item?
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_CODPAS
Caractere (C)(2)
Componente
Máscara:
@!
DW6_DESCRI
Caractere (C)(20)
Descricao
Máscara:
@!
Contexto:
Real
DW6_VALDE
Caractere (C)(2)
De Faixa
Máscara:
99
Contexto:
Real
DW6_VALATE
Caractere (C)(2)
Ate Faixa
Máscara:
99
Contexto:
Real
DW6_PESMIN
Caractere (C)(1)
Pes.Min.Obr.
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_VALMIN
Caractere (C)(1)
Val.Min.Obr.
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_IMPCOM
Caractere (C)(1)
Imp.Compon.
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_IMPFAI
Caractere (C)(1)
Imp.Faixa
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_IMPMIN
Caractere (C)(1)
Imp.Minimo
Máscara:
@!
Contexto:
Real
Validação:
Pertence('12')
2 valores possíveis
  • 1Sim
  • 2Nao
DW6_TEXTO
Caractere (C)(128)
Texto Imp.
Máscara:
@!
Contexto:
Real
Validação:
A370VerFor()

SELECT de exemplo da tabela DW6

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
  DW6.DW6_FILIAL,
  DW6.DW6_CODNEG,
  DW6.DW6_CONSIT,
  DW6.DW6_CODPAS,
  DW6.DW6_DESCRI,
  DW6.DW6_VALDE,
  DW6.DW6_VALATE,
  DW6.DW6_PESMIN
FROM DW6010 DW6
WHERE DW6.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.