Tabela QPX

Critérios Skip-Lote
5camposNome físicoQPX010(empresa 01)

Campos da tabela QPX

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

CampoDescrição
QPX_FILIAL
Caractere (C)(2)
Filial
QPX_VLINF
Numérico (N)(6,2)
Vl. Inferior
Máscara:
@E 999.99
QPX_VLSUP
Numérico (N)(6,2)
Vl. Superior
Máscara:
@E 999.99
Validação:
(M->QPX_VLSUP >= 0.00 .and. M->QPX_VLSUP <= 100.00) .and. ExistChav("QPX",str(M->QPX_VLSUP,6,2))
QPX_SKPLOT
Caractere (C)(2)
Skip-Lote
Máscara:
99
Consulta F3:
QPF
Validação:
ExistCpo("QPF",M->QPX_SKPLOT)
QPX_DESSKL
Caractere (C)(35)
Desc.Sk-Lote
Contexto:
Virtual (não existe no banco)

SELECT de exemplo da tabela QPX

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
  QPX.QPX_FILIAL,
  QPX.QPX_VLINF,
  QPX.QPX_VLSUP,
  QPX.QPX_SKPLOT
FROM QPX010 QPX
WHERE QPX.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.