Produtos Edital
A tabela CO2 faz parte do sistema ERP Protheus da TOTVS e é utilizada para produtos edital.
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 CO2 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 CO2, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CO2 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CO2990 |
| X2_NOME | Produtos Edital |
| X2_NOMESPA | Produtos Edicto |
| X2_NOMEENG | Products of Pub. Notice |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CO2_FILIAL+CO2_CODEDT+CO2_NUMPRO+CO2_CODPRO+CO2_LOTE |
| X2_PYME | S |
| X2_MODULO | 87 |
| X2_DISPLAY | CO2_CODEDT+CO2_NUMPRO+CO2_CODPRO+CO2_LOTE |
| X2_SYSOBJ | - |
| 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_ | 2531 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CO2 | 01 | CO2_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal del Sistema | System Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39698 | 0 |
| CO2 | 02 | CO2_REMAN | L | 1 | 0 | Remanescente | Remanente | Remaining | Remanescente | Remanente | Remaining | - | A200VldRem() | x x x x x x x x x x x x x x x x | .F. | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | FwFldGet("CO1_ETAPA") == "RM" | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39699 | 0 |
| CO2 | 03 | CO2_CODEDT | C | 15 | 0 | Cod. Process | Cod. Proces. | Process Code | Codigo do Processo | Código del proceso | Process Code | @! | EXISTCPO("CO1",M->CO2_CODEDT) | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39700 | 0 |
| CO2 | 04 | CO2_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 | xxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 39701 | 0 |
| CO2 | 05 | CO2_HOMOLO | L | 1 | 0 | Homologa ite | Homologa íte | Approv Item | Homologa item | Homologa ítem | Approve Item | - | GCPHomPar(a) | x x x x x x x x x x x x x x x x | .F. | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | WhenHML(M->CO1_ETAPA,M->CO2_DOCOK) | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 39702 | 0 |
| CO2 | 06 | CO2_NUMPRO | C | 15 | 0 | Num.Processo | Nº Proceso | Proc. Number | Num.Processo | Nº Proceso | Process Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39703 | 0 |
| CO2 | 07 | CO2_CODPRO | C | 15 | 0 | Cod.Produto | Cod.Producto | Prod.Code | Codigo Produto | Codigo Producto | Product Code | @! | ExistCpo("SB1") | x x x x x x x x x x x x x x x x | - | SB1 | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 030 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 39704 | 0 |
| CO2 | 08 | CO2_DESCR | C | 50 | 0 | Descr.Produt | Descr.Produc | Prod. Desc. | Descricao do Produto | Descrip. del Producto | Product Description | @! | - | x x x x x x x x x x x x x x x x | if(!inclui,POSICIONE( "SB1", 1, XFILIAL( "SB1" ) + CO2->CO2_CODPRO, "B1_DESC"),"") | - | 1 | x xxx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | 171 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 39705 | 0 |
| CO2 | 09 | CO2_QUANT | N | 12 | 2 | Quantidade | Cantidad | Amount | Quantidade | Cantidad | Amount | @E 999999999.99 | Positivo() .And. GCPSldPrd() .And. GCP201CVLT() .And. A200VlQtBn() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | S | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 39706 | 0 |
| CO2 | 10 | CO2_UM | C | 2 | 0 | UM | UM | MU | Unidade de Medida | Unidad de Medida | Measurement Unit | - | - | x x x x x x x x x x x x x x x x | IF(INCLUI,"",POSICIONE( "SB1", 1, XFILIAL( "SB1" ) + CO2->CO2_CODPRO, "B1_UM")) | - | 1 | xxxx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39707 | 0 |
| CO2 | 11 | CO2_ORIGEM | C | 12 | 0 | Origem | Origen | Origin | Origem | Origen | Origin | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39708 | 0 |
| CO2 | 12 | CO2_FRACAS | C | 1 | 0 | Revogado | Revocado | Revoked | Produto Revogado | Producto Revocado | Revoked Product | @! | Pertence("SN") | x x x x x x x x x x x x x x x | "N" | - | 1 | xx | - | - | - | N | A | R | - | - | S=Sim;N=Nao | S=Si;N=No | Y=Yes;N=No | - | M->CO2_FRACAS=="S" | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39709 | 0 |
| CO2 | 13 | CO2_NUMSC | C | 6 | 0 | Numero da SC | Numero de SC | Request No | Numero da Solicitação | Numero de Solicitud | Request Number | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39710 | 0 |
| CO2 | 14 | CO2_ITEMSC | C | 4 | 0 | Item da SC | Item de SC | Request Item | Item da Solicitação | Item de Solicitud | Request Item | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39711 | 0 |
| CO2 | 15 | CO2_VLESTI | N | 14 | 2 | Cons. Preço | Cons. Precio | Price Query | Consulta de Preço | Consulta de Precio | Price Query | @E 99,999,999,999.99 | Positivo() .And. GCP201CVLT() .And. A200MDCO2() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39712 | 0 |
| CO2 | 16 | CO2_QUANT2 | N | 9 | 2 | Quant 2a.UM | Cant. 2a.UM | Qty 2nd MU | Quantidade 2a. UM | Cantidad 2a. UM | Qty 2nd Meas Unit | @E 999,999.99 | Positivo() | x x x x x x x x x x x x x x x | - | - | 1 | x xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39713 | 0 |
| CO2 | 17 | CO2_UM2 | C | 2 | 0 | Segunda UM | Segunda UM | Sec Meas Uni | Segunda Unidade de Medida | Segunda unidad de medida | Second Measur Unit | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x xxxx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39714 | 0 |
| CO2 | 18 | CO2_OBS | M | 10 | 0 | Observação | Observac. | Note | Observação | Observacion | Note | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39715 | 0 |
| CO2 | 19 | CO2_LOTE | C | 8 | 0 | Lote | Lote | Store | Numero do Lote | Numero de Lote | Lot Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | x xx x | - | - | - | S | A | R | - | - | - | - | - | - | M->CO1_AVAL=="2" | - | - | - | N | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39716 | 0 |
| CO2 | 20 | CO2_REVISA | C | 3 | 0 | Revisão | Revision | Review | Seq. da Revisão | Sec. de Revision | Review Sequence | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39717 | 0 |
| CO2 | 21 | CO2_STATUS | C | 1 | 0 | Status | Estatus | Status | Status do Item | Estatus del item | Status of Item | - | Pertence("1234") .AND. GCP200Leg(b) | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | S | V | R | - | - | 1=Habilitado;2=Revogado;3=Anulado;4=Remanescente | 1=Activado;2=Revocado;3=Anulado;4=Remanente | 1=Enabled;2=Revoked;3=Annulled;4=Remainder | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 39718 | 0 |
| CO2 | 22 | CO2_QTSEGU | N | 12 | 2 | Quant 2a.UM | Cant.2a.UM | 2nd UM Qty. | Quantidade 2a. UM | Cantidad 2a. UM | 2nd Measrmt Unit Quantity | @E 999999999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39719 | 0 |
| CO2 | 23 | CO2_SEGUM | C | 2 | 0 | Segunda UM | Segunda UM | Second UM | Segunda Unidade de Medida | Segunda unidad de medida | Second Unit of Measure | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | V | R | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39720 | 0 |
| CO2 | 24 | CO2_TPBEM | C | 1 | 0 | Tipo Bem | Tipo bien | Asset Type | Tipo Bem | Tipo bien | Asset Type | @! | Pertence("123") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Não Informado;2=Móvel;3=Imóvel | 1=No informado;2=Mueble;3=Inmueble | 1=Not entered;2=Movible;3=Immovable | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39721 | 0 |
| CO2 | 25 | CO2_SALDO | N | 12 | 2 | Saldo | Saldo | Balance | Saldo | Saldo | Balance | @E 999999999.99 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39722 | 0 |
| CO2 | 26 | CO2_DIFMIN | N | 9 | 7 | Dif. Min Lan | Dif. Min Lic | Min Lan Dif | Dif. Minima entre Lances | Dif. Minima entre Licitac | Min.Dif. between Trans | @E 9.9999999 | Vazio() .or. (FwFldGet("CO2_DIFMIN") >= 1 .And. FwFldGet("CO2_DIFMIN") < 2 ) | 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 | - | - | - | 39723 | 0 |
| CO2 | 27 | CO2_ITEMCN | N | 5 | 0 | Item CN | Item CN | CN Item | N. Item ComprasNet | N. Item ComprasNet | ComprasNet Item N. | @E 99,999 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39724 | 0 |
| CO2 | 28 | CO2_PARTEX | C | 1 | 0 | Tipo Benefic | Tipo Benefic | Benefit Type | Tipo de Benefício | Tipo de Beneficio | Benefit Type | @! | Pertence('0123') .And. A200VlQtBn() | x x x x x x x x x x x x x x x x | "0" | - | 1 | xx | - | - | - | N | A | R | - | - | 0=Nenhum;1=Tipo I;2=Tipo II;3=Tipo III | 0=Ninguno;1=Tipo I;2=Tipo II;3=Tipo III | 0=None;1=Type I;2=Type II;3=Type III | - | Empty(dtos(FwFldGet("CO1_DTPUBL"))) | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39725 | 0 |
| CO2 | 29 | CO2_DOCOK | L | 1 | 0 | Doc Gerado | Doc Gener | Doc Gener | Documento gerado | Documento generado | Document generated | - | - | x x x x x x x x x x x x x x x x | .F. | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 39726 | 0 |
| CO2 | 30 | CO2_QTDRSV | N | 16 | 2 | Qtde. Cota | Cant. Cuota | Quota Qty | Quantidade Cota Reservada | Cantidad cuota reservada | Reserved Quota Quantity | @E 9,999,999,999,999.99 | VldQtdRsv() | x x x x x x x x x x x x x x x x | 0 | - | 1 | xx | - | - | - | - | A | R | - | - | - | - | - | - | fwfldget('CO1_INTEGR') == '4' | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 39727 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CO2 | 1 | CO2_FILIAL+CO2_CODEDT+CO2_NUMPRO+CO2_CODPRO | Cod. Process + Num.Processo + Cod.Produto | Cod. Proces. + Nº Proceso + Cod.Producto | Process Code + Proc. Number + Prod.Code | S | - | - | S | 2 | 3 | - | 6108 | 0 |
| CO2 | 2 | CO2_FILIAL+CO2_CODEDT+CO2_NUMPRO+CO2_ITEM | Cod. Process + Num.Processo + Item | Cod. Proces. + Nº Proceso + Item | Process Code + Proc. Number + Item | S | - | - | S | 2 | 3 | - | 6109 | 0 |
| CO2 | 3 | CO2_FILIAL+CO2_CODEDT+CO2_NUMPRO+CO2_LOTE | Cod. Process + Num.Processo + Lote | Cod. Proces. + Nº Proceso + Lote | Process Code + Proc. Number + Store | S | - | - | S | 2 | 3 | - | 6110 | 0 |
Ela é utilizada para produtos edital 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.