Tabela CZP

Reservas Usadas
23camposNome físicoCZP010(empresa 01)

Campos da tabela CZP

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

23
CampoDescrição
CZP_FILIAL
Caractere (C)(2)
Filial
Contexto:
Real
CZP_NRSQRP
Caractere (C)(20)
Seq Reporte
Máscara:
99999999999999999999
Contexto:
Real
CZP_NRORPO
Caractere (C)(20)
Ord Prod
Contexto:
Real
CZP_CDMT
Caractere (C)(15)
Item Reserva
Máscara:
@!
Contexto:
Real
Consulta F3:
CZ3001
CZP_DSMT
Caractere (C)(40)
Desc Item
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CZP_CDRE
Caractere (C)(20)
Referencia
Máscara:
@!
Contexto:
Real
CZP_QTRPPO
Numérico (N)(14,4)
Qtd Utilizad
Máscara:
@E 999,999,999.9999
Contexto:
Real
CZP_QTRP
Numérico (N)(14,4)
Qtd Atendida
Máscara:
@E 999,999,999.9999
Contexto:
Virtual (não existe no banco)
CZP_CDUN
Caractere (C)(2)
Unid Medida
Contexto:
Real
CZP_CDACPI
Caractere (C)(15)
Item Pai
Máscara:
@!
Contexto:
Real
Consulta F3:
CZ3001
CZP_DSACPI
Caractere (C)(60)
Des Item Pai
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CZP_CDDP
Caractere (C)(2)
Deposito
Máscara:
@!
Contexto:
Real
CZP_CDLC
Caractere (C)(20)
Localizacao
Máscara:
@!
Contexto:
Real
CZP_CDLO
Caractere (C)(10)
Lote/Serie
Contexto:
Real
CZP_CDAT
Caractere (C)(10)
Operacao
Máscara:
@!
Contexto:
Real
CZP_CDRT
Caractere (C)(20)
Roteiro
Máscara:
@!
Contexto:
Real
CZP_CDES
Caractere (C)(2)
Estabel
Contexto:
Real
CZP_DTMT
Data (D)(8)
Data Reserva
Contexto:
Real
CZP_QTMT
Numérico (N)(14,4)
Qtde Reserva
Máscara:
@E 999,999,999.9999
Contexto:
Real
CZP_TPST
Caractere (C)(1)
Estado
Contexto:
Virtual (não existe no banco)
2 valores possíveis
  • 1Ativo
  • 2Inativo
CZP_NRORRE
Caractere (C)(20)
Ordem Refer
Máscara:
99999999999999999999
Contexto:
Virtual (não existe no banco)
CZP_CDTBMT
Caractere (C)(20)
Processo Ord
Máscara:
@!
Contexto:
Virtual (não existe no banco)
CZP_IDMTOR
Caractere (C)(10)
ID Reservas
Máscara:
9999999999
Contexto:
Real

SELECT de exemplo da tabela CZP

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
  CZP.CZP_FILIAL,
  CZP.CZP_NRSQRP,
  CZP.CZP_NRORPO,
  CZP.CZP_CDMT,
  CZP.CZP_CDRE,
  CZP.CZP_QTRPPO,
  CZP.CZP_CDUN,
  CZP.CZP_CDACPI
FROM CZP010 CZP
WHERE CZP.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.