Licitantes
A tabela CPZ faz parte do sistema ERP Protheus da TOTVS e é utilizada para licitantes.
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela CPZ possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela CPZ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CPZ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CPZ990 |
| X2_NOME | Licitantes |
| X2_NOMESPA | Licitantes |
| X2_NOMEENG | Bidders |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CPZ_FILIAL+CPZ_NUMATA+CPZ_CODPRO+CPZ_TIPO+CPZ_CODIGO+CPZ_LOJA+CPZ_LOTE |
| X2_PYME | S |
| X2_MODULO | 87 |
| X2_DISPLAY | CPZ_FILIAL+CPZ_NUMATA+CPZ_CODPRO+CPZ_TIPO+CPZ_CODIGO+CPZ_LOJA |
| X2_SYSOBJ | GCPA300 |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 2596 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CPZ | 01 | CPZ_FILIAL | C | 2 | 0 | Filial | Sucur | Branch | Filial do Sistema | Sucursal sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40440 | 0 |
| CPZ | 02 | CPZ_NUMATA | C | 15 | 0 | Num. da Ata | Num. Acta | Minute No. | Número da Ata | Numero Acta | Minute Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40441 | 0 |
| CPZ | 03 | CPZ_STATUS | C | 1 | 0 | Status | Estatus | Status | Status do Licitante | Estatus licitante | Bidder Status | - | - | x x x x x x x x x x x x x x x x | GCP300IniL() | - | 1 | xx | - | - | - | - | - | - | - | - | 1=Habilitado;2=Revogado;3=Anulado;4=Remanescente;5=Ganhador;6=Inabilitado | 1=Activado;2=Revocado;3=Anulado;4=Restante;5=Ganador;6=Inactivado | 1=Enabled;2=Revoked;3=Null;4=Remaining;5=Winner;6=Disabled | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40442 | 0 |
| CPZ | 04 | CPZ_TIPO | C | 1 | 0 | Tipo | Tipo | Type | Tipo do Participante | Tipo de Participante | Participant Type | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | xx | - | - | - | - | A | R | - | - | 1=Pré-Licitante;2=Licitante | 1=Licitador previo ;2=Licitador | 1=Pre-bidding;2=Bidding | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40443 | 0 |
| CPZ | 05 | CPZ_ITEM | C | 6 | 0 | Item | Item | Item | Item | Item | Item | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40444 | 0 |
| CPZ | 06 | CPZ_CODIGO | C | 6 | 0 | Código | Codigo | Code | Código | Codigo | Code | @! | GCP200VldF(a) | x x x x x x x x x x x x x x x x | - | SA2 | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 40445 | 0 |
| CPZ | 07 | CPZ_LOJA | C | 2 | 0 | Loja | Tienda | Store | Loja | Tienda | Store | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 40446 | 0 |
| CPZ | 08 | CPZ_NOME | C | 50 | 0 | Nome | Nombre | Name | Nome | Nombre | Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | V | R | - | - | - | - | - | - | - | - | 177 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40447 | 0 |
| CPZ | 09 | CPZ_CODPRO | C | 15 | 0 | Nome | Nomb | Name | Nome | Nombre | Name | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40448 | 0 |
| CPZ | 10 | CPZ_DESCON | N | 6 | 2 | Descont Edit | Desc Edit | Disc Perc | Percentual do Desconto | Porcentaje del descuento | Discount Percentage | @E 999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40449 | 0 |
| CPZ | 11 | CPZ_VLUNIT | N | 12 | 2 | Valor Unit. | Valor unit. | Unit Value | Valor Unitário | Valor unitario | Unit Value | @E 999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | S | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 40450 | 0 |
| CPZ | 12 | CPZ_PERCRJ | N | 6 | 2 | % Reajuste | % Reajuste | Adj. % | % de Reajuste do Preço | % de Reajuste Precio | Price Adjustment % | @E 999.99 | - | x x x x x x x x x x x x x x x | 0 | - | 1 | xx | - | S | - | - | A | V | - | - | - | - | - | - | - | 0 | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40451 | 0 |
| CPZ | 13 | CPZ_VALATU | N | 14 | 2 | Valor Atual | Valor actual | Current Vl | Valor Atual | Valor actual | Current Value | @E 99,999,999,999.99 | Positivo() | x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40452 | 0 |
| CPZ | 14 | CPZ_VLRPRE | N | 14 | 2 | Vlr. Prefer | Val. Prefer | Vl. Prefer | Vlr. commargem de Prefer | Val con Margen de Prefer | Vl. with Prefer Margin | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40453 | 0 |
| CPZ | 15 | CPZ_VALRRJ | N | 12 | 2 | Vlr.Reajusta | Val. Reajust | Adjust. Vl. | Valor Reajustado | Valor reajustado | Adjusted Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | A | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40454 | 0 |
| CPZ | 16 | CPZ_VALREF | N | 14 | 2 | Valor Ref. | Valor Ref. | Ref Value | Valor de Referência | Valor de referencia | Reference Value | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40455 | 0 |
| CPZ | 17 | CPZ_CONDPG | C | 3 | 0 | Condição Pag | Cond Pago | Pmt Term | Condição de Pagamento | Condición de pago | Payment Term | @! | ExistCpo("SE4") | x x x x x x x x x x x x x x x x | - | SE4 | 1 | xx | - | - | - | - | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40456 | 0 |
| CPZ | 18 | CPZ_LOTE | C | 8 | 0 | Lote | Lote | Batch | Lote da Ata | Lote del acta | Minute Batch | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 40457 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CPZ | 1 | CPZ_FILIAL+CPZ_NUMATA+CPZ_CODPRO+CPZ_TIPO+CPZ_CODIGO+CPZ_LOJA | Num. da Ata + Nome + Tipo + Código + Loja | Num. Acta + Nomb + Tipo + Codigo + Tienda | Minute No. + Name + Type + Code + Store | S | - | - | S | 2 | 3 | - | 6221 | 0 |
| CPZ | 2 | CPZ_FILIAL+CPZ_NUMATA+CPZ_LOTE+CPZ_TIPO+CPZ_CODIGO+CPZ_LOJA | Num. da Ata + Lote + Tipo + Código + Loja | Num. Acta + Lote + Tipo + Codigo + Tienda | Minute No. + Batch + Type + Code + Store | S | - | - | S | 2 | 3 | - | 6222 | 0 |
| CPZ | 3 | CPZ_FILIAL+CPZ_NUMATA+CPZ_TIPO+CPZ_CODIGO+CPZ_LOJA | Num. da Ata + Tipo + Código + Loja | Num. Acta + Tipo + Codigo + Tienda | Minute No. + Type + Code + Store | S | - | - | S | 2 | 3 | - | 6223 | 0 |
Ela é utilizada para licitantes dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.
Modelo de query gerado automaticamente com base na estrutura da tabela.
SELECT
CPZ_FILIAL,
CPZ_NUMATA,
CPZ_STATUS,
CPZ_TIPO,
CPZ_ITEM,
CPZ_CODIGO,
CPZ_LOJA,
CPZ_NOME,
CPZ_CODPRO,
CPZ_DESCON,
CPZ_VLUNIT,
CPZ_PERCRJ,
CPZ_VALATU,
CPZ_VLRPRE,
CPZ_VALRRJ,
CPZ_VALREF,
CPZ_CONDPG,
CPZ_LOTE
FROM CPZ
WHERE
D_E_L_E_T_ = ' '
AND CPZ_FILIAL = 'VALOR'
AND CPZ_NUMATA = 'VALOR'
AND CPZ_STATUS = 'VALOR'
AND CPZ_TIPO = 'VALOR'
AND CPZ_ITEM = 'VALOR'
AND CPZ_CODIGO = 'VALOR'
AND CPZ_LOJA = 'VALOR'
AND CPZ_NOME = 'VALOR'
AND CPZ_CODPRO = 'VALOR'
AND CPZ_DESCON = 0
AND CPZ_VLUNIT = 0
AND CPZ_PERCRJ = 0
AND CPZ_VALATU = 0
AND CPZ_VLRPRE = 0
AND CPZ_VALRRJ = 0
AND CPZ_VALREF = 0
AND CPZ_CONDPG = 'VALOR'
AND CPZ_LOTE = 'VALOR'