Rateios Off-Line
A tabela CTQ faz parte do sistema ERP Protheus da TOTVS e é utilizada para rateios off-line.
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 CTQ 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 CTQ, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | CTQ |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | CTQ990 |
| X2_NOME | Rateios Off-Line |
| X2_NOMESPA | Prorrateos Off-Line |
| X2_NOMEENG | Off-line Apportionments |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | CTQ_FILIAL+CTQ_RATEIO+CTQ_SEQUEN |
| X2_PYME | S |
| X2_MODULO | 34 |
| X2_DISPLAY | - |
| 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_ | 2729 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CTQ | 01 | CTQ_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial | Sucursal | Branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | - | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42596 | 0 |
| CTQ | 02 | CTQ_RATEIO | C | 6 | 0 | Cod Rateio | Cod.Prorrat. | Prorat.Code | Codigo do Rateio | Codigo de Prorrateo | Proration Code | @! | ExistChav("CTQ",,1) .And. FreeForUse("CTQ",m->ctq_rateio) | x x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42597 | 0 |
| CTQ | 03 | CTQ_DESC | C | 20 | 0 | Descricao | Descripcion | Description | Descricao do Rateio | Descripcion de Prorrateo | Proration Description | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | S | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42598 | 0 |
| CTQ | 04 | CTQ_TIPO | C | 1 | 0 | Tipo Rateio | Tipo Prorrat | Pror.Type | Tipo do Rateio | Tipo del Prorrateo | Type of Pror. | ! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | S | - | - | - | - | 1=Movimento Mes;2=Saldo Acumulado | 1=Movimiento Mes;2=Saldo Acumulado | 1=Mth.Mov.;2=Accr.Balance | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42599 | 0 |
| CTQ | 05 | CTQ_PERBAS | N | 6 | 2 | Perc Base | Porc Base | Base Percen. | Percentual a Ratear | Porcentaje a Prorratear | Percentage to Prorate | @E 999.99 | - | x x x x x x x x x x x x x x x x | 100 | - | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42600 | 0 |
| CTQ | 06 | CTQ_CTORI | C | 20 | 0 | Conta Origem | Cuenta Orig. | Src.Account | Conta Origem | Cuenta Origen | Source Account | @! | Vazio(M->CTQ_CTORI) .or. ExistCpo("CT1",M->CTQ_CTORI,1) | x x x x x x x x x x x x x x x x | - | CT1 | 1 | xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 003 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42601 | 0 |
| CTQ | 07 | CTQ_CCORI | C | 9 | 0 | C Custo Ori | C Costo Ori | Src.Cos.Cen. | Centro de Custo Origem | Centro de Costo Origen | Source Cost Center | @! | Vazio(M->CTQ_CCORI) .or. ExistCpo("CTT",M->CTQ_CCORI,1) | x x x x x x x x x x x x x x x x | - | CTT | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42602 | 0 |
| CTQ | 08 | CTQ_ITORI | C | 9 | 0 | Item Origem | Item Origen | Origin Item | Item Origem | Item Origen | Origin Item | @! | Vazio(M->CTQ_ITORI) .or. ExistCpo("CTD",M->CTQ_ITORI,1) | x x x x x x x x x x x x x x x x | - | CTD | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 005 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42603 | 0 |
| CTQ | 09 | CTQ_CLORI | C | 9 | 0 | Cl Origem | Cl Origen | Src.Val.Cat. | Cl Valor Origem | Cl Valor Origen | Source Value Category | @! | Vazio(M->CTQ_CLORI) .or. ExistCpo("CTH",M->CTQ_CLORI,1) | x x x x x x x x x x x x x x x x | - | CTH | 1 | x x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 006 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42604 | 0 |
| CTQ | 10 | CTQ_CTPAR | C | 20 | 0 | Conta Part | Cuenta Part | Entry Acc. | Conta Partida | Cuenta Partida | Entry Account | @! | Vazio(M->CTQ_CTPAR) .or. ExistCpo("CT1",M->CTQ_CTPAR,1) | x x x x x x x x x x x x x x x x | - | CT1 | 1 | xx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 003 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42605 | 0 |
| CTQ | 11 | CTQ_CCPAR | C | 9 | 0 | C Custo Part | C Costo Part | Ent.Cos.Cen. | Centro de Custo Partida | Centro de Costo Partida | Entry Cost Center | @! | Vazio(M->CTQ_CCPAR) .or. ExistCpo("CTT",M->CTQ_CCPAR,1) | x x x x x x x x x x x x x x x x | - | CTT | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42606 | 0 |
| CTQ | 12 | CTQ_ITPAR | C | 9 | 0 | Item Partida | Item Partida | Entry Item | Item Partida | Item Partida | Initial Item | @! | Vazio(M->CTQ_ITPAR) .or. ExistCpo("CTD",M->CTQ_ITPAR,1) | x x x x x x x x x x x x x x x x | - | CTD | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 005 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42607 | 0 |
| CTQ | 13 | CTQ_CLPAR | C | 9 | 0 | Cl Partida | Cl. Partida | Ent.Val.Cl. | Cl Valor Partida | Cl. Valor Partida | Entry Value Class | @! | Vazio(M->CTQ_CLPAR) .or. ExistCpo("CTH",M->CTQ_CLPAR,1) | x x x x x x x x x x x x x x x x | - | CTH | 1 | xx x | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 006 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42608 | 0 |
| CTQ | 14 | CTQ_SEQUEN | C | 3 | 0 | Sequencial | Secuencial | Sequential | Sequencial | Secuencial | Sequential | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42609 | 0 |
| CTQ | 15 | CTQ_CTCPAR | C | 20 | 0 | Conta CPar | Cuenta CPar | Con.Ent.Acc. | Conta Contra-Partida | Cuenta Contrapartida | Contra Entry Account | @! | Ctb105Cta().And.CtbAmarCTQ() | x x x x x x x x x x x x x x x x | - | CT1 | 1 | xxxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 003 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42610 | 0 |
| CTQ | 16 | CTQ_CCCPAR | C | 9 | 0 | CCusto CPar | CCosto CPar | C.Ent.C Cent | C Custo Contra-Partida | C Costo Contrapartida | Contra Entry Cost Center | @! | (Vazio().Or.ExistCpo("CTT")).And.Ctb105CC(M->CTQ_CCCPAR).And.CtbAmarCTQ() | x x x x x x x x x x x x x x x x | - | CTT | 1 | xxxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 004 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42611 | 0 |
| CTQ | 17 | CTQ_ITCPAR | C | 9 | 0 | Item CPar | Item CPar | Con.Ent.Item | Item Contra-Partida | Item Contrapartida | Contra Entry Item | @! | (Vazio().Or.ExistCpo("CTD")).And.Ctb105Item(M->CTQ_ITCPAR).And.CtbAmarCTQ() | x x x x x x x x x x x x x x x x | - | CTD | 1 | xxxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 005 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42612 | 0 |
| CTQ | 18 | CTQ_CLCPAR | C | 9 | 0 | Cl CPar | Cl CPar | Con.Ent.V.Ct | Cl Valor Contra-Partida | Cl Valor Contrapartida | Contra Entry Value Cat. | @! | (Vazio().Or.ExistCpo("CTH")).And.Ctb105ClVl(M->CTQ_CLCPAR).And.CtbAmarCTQ() | x x x x x x x x x x x x x x x x | - | CTH | 1 | xxxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | 006 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42613 | 0 |
| CTQ | 19 | CTQ_UM | C | 2 | 0 | Unidade | Unidad | Unit | Unidade de Medida | Unidad de Medida | Unit of Measurement | - | Vazio() .Or. ExistCpo("SAH") | x x x x x x x x x x x x x x x x | - | SAH | 1 | xx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 122 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42614 | 0 |
| CTQ | 20 | CTQ_VALOR | N | 14 | 2 | Valor | Valor | Value | Valor | Valor | Value | @E 99,999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 42615 | 0 |
| CTQ | 21 | CTQ_PERCEN | N | 6 | 2 | Percen Ratei | Porc.Prorrat | Prorat.Perc. | Percentual de Rateio | Porcentaje de Prorrateo | Proration Percentage | @E 999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxx | - | - | - | N | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42616 | 0 |
| CTQ | 22 | CTQ_FORMUL | C | 60 | 0 | Formula | Formula | Formula | Form.atualização | Form.actualizacion | Update Form. | @! | Vazio() .Or. Ctb277Form('N') | x x x x x x x x x x x x x x x x | "1" | - | 1 | x xx | - | - | - | N | A | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42617 | 0 |
| CTQ | 23 | CTQ_INTERC | C | 1 | 0 | Intercompany | Intercompany | Intercompany | Lanctos comk intercompany | Lanç. Intercompany | Intercompany comk entries | - | PERTENCE("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | xx x | - | - | - | - | - | - | - | - | 1=Sim;2=Não | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42618 | 0 |
| CTQ | 24 | CTQ_AMARRA | C | 6 | 0 | Amarração | Vinculacion | Binding | Cod. de amarração de rate | Cod.vinculacion prorrat. | Appor. binding code | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42619 | 0 |
| CTQ | 25 | CTQ_MSBLQL | C | 1 | 0 | Bloqueado | Bloqueado | Blocked | Rateio bloqueado | Prorrateo bloqueado | Block.Proration | - | pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | xx x | - | - | - | - | - | - | - | - | 1=Sim;2=Não | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42620 | 0 |
| CTQ | 26 | CTQ_STATUS | C | 1 | 0 | Status | Estatus | Status | Status do rateio | Estatus del prorrateo | Pror.Status | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 42621 | 0 |
| CTQ | 27 | CTQ_EVERAT | C | 6 | 0 | Ev. Rateio | Ev. Prorrat | Apport. Ev. | Evento de Rateio | Evento Prorrateo | Apportionment Event | @! | - | x x x x x x x x x x x x x x x x | - | CQJ | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 42622 | 0 |
| CTQ | 28 | CTQ_REGRA | C | 6 | 0 | Cod. De-Para | De-A Cód. | From-To Code | Código De-Para | De-A Código | From-To Code | @! | - | 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 | - | - | - | 42623 | 0 |
| CTQ | 29 | CTQ_E05ORI | C | 16 | 0 | Ent. 05Ori | Ent. 05Ori | Ent. 05Ori | Entidade 05 Origem | Entidad 05 Origen | Entity 05 Origin | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177443 | 0 |
| CTQ | 30 | CTQ_E05PAR | C | 16 | 0 | Ent. 05Part | Ent. 05Part | Ent. 05Depar | Entidade 05 Partida | Entidad 05 Partida | Entity 05 Departure | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177444 | 0 |
| CTQ | 31 | CTQ_E05CP | C | 16 | 0 | Ent. 05 CPar | Ent. 05 CPar | Ent. 05 CPar | Entid. 05 Contra-Partida | Entid. 05 Contrapartida | Entity 05 Counterpart | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 040 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177445 | 0 |
| CTQ | 32 | CTQ_E06ORI | C | 16 | 0 | Ent. 06Ori | Ent. 06Ori | Ent. 06Ori | Entidade 06 Origem | Entidad 06 Origen | Entity 06 Origin | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177446 | 0 |
| CTQ | 33 | CTQ_E06PAR | C | 16 | 0 | Ent. 06Part | Ent. 06Part | Ent. 06Depar | Entidade 06 Partida | Entidad 06 Partida | Entity 06 Departure | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177447 | 0 |
| CTQ | 34 | CTQ_E06CP | C | 16 | 0 | Ent. 06 CPar | Ent. 06 CPar | Ent. 06 CPar | Entid. 06 Contra-Partida | Entid. 06 Contrapartida | Entity 06 Counterpart | @! | CtbEntExis() | x x x x x x x x x x x x x x x x | - | CV0 | 0 | xxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 042 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 177448 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CTQ | 1 | CTQ_FILIAL+CTQ_RATEIO+CTQ_SEQUEN | Cod Rateio + Sequencial | Cod.Prorrat. + Secuencial | Prorat.Code + Sequential | S | - | - | S | 2 | 3 | - | 6544 | 0 |
| CTQ | 2 | CTQ_FILIAL+CTQ_AMARRA+CTQ_RATEIO+CTQ_SEQUEN | Amarração + Cod Rateio + Sequencial | Vinculacion + Cod.Prorrat. + Secuencial | Binding + Prorat.Code + Sequential | S | - | - | S | 2 | 3 | - | 6545 | 0 |
| CTQ | 3 | CTQ_FILIAL+CTQ_CTORI | Conta Origem | Cuenta Orig. | Src.Account | S | - | - | S | 2 | 3 | - | 6546 | 0 |
| CTQ | 4 | CTQ_FILIAL+CTQ_CTPAR | Conta Part | Cuenta Part | Entry Acc. | S | - | - | S | 2 | 3 | - | 6547 | 0 |
| CTQ | 5 | CTQ_FILIAL+CTQ_CTCPAR | Conta CPar | Cuenta CPar | Con.Ent.Acc. | S | - | - | S | 2 | 3 | - | 6548 | 0 |
| CTQ | 6 | CTQ_FILIAL+CTQ_CCORI | C Custo Ori | C Costo Ori | Src.Cos.Cen. | S | - | - | S | 2 | 3 | - | 6549 | 0 |
| CTQ | 7 | CTQ_FILIAL+CTQ_CCPAR | C Custo Part | C Costo Part | Ent.Cos.Cen. | S | - | - | S | 2 | 3 | - | 6550 | 0 |
| CTQ | 8 | CTQ_FILIAL+CTQ_CCCPAR | CCusto CPar | CCosto CPar | C.Ent.C Cent | S | - | - | S | 2 | 3 | - | 6551 | 0 |
Ela é utilizada para rateios off-line 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
CTQ_FILIAL,
CTQ_RATEIO,
CTQ_DESC,
CTQ_TIPO,
CTQ_PERBAS,
CTQ_CTORI,
CTQ_CCORI,
CTQ_ITORI,
CTQ_CLORI,
CTQ_CTPAR,
CTQ_CCPAR,
CTQ_ITPAR,
CTQ_CLPAR,
CTQ_SEQUEN,
CTQ_CTCPAR,
CTQ_CCCPAR,
CTQ_ITCPAR,
CTQ_CLCPAR,
CTQ_UM,
CTQ_VALOR,
CTQ_PERCEN,
CTQ_FORMUL,
CTQ_INTERC,
CTQ_AMARRA,
CTQ_MSBLQL,
CTQ_STATUS,
CTQ_EVERAT,
CTQ_REGRA,
CTQ_E05ORI,
CTQ_E05PAR,
CTQ_E05CP,
CTQ_E06ORI,
CTQ_E06PAR,
CTQ_E06CP
FROM CTQ
WHERE
D_E_L_E_T_ = ' '
AND CTQ_FILIAL = 'VALOR'
AND CTQ_RATEIO = 'VALOR'
AND CTQ_DESC = 'VALOR'
AND CTQ_TIPO = 'VALOR'
AND CTQ_PERBAS = 0
AND CTQ_CTORI = 'VALOR'
AND CTQ_CCORI = 'VALOR'
AND CTQ_ITORI = 'VALOR'
AND CTQ_CLORI = 'VALOR'
AND CTQ_CTPAR = 'VALOR'
AND CTQ_CCPAR = 'VALOR'
AND CTQ_ITPAR = 'VALOR'
AND CTQ_CLPAR = 'VALOR'
AND CTQ_SEQUEN = 'VALOR'
AND CTQ_CTCPAR = 'VALOR'
AND CTQ_CCCPAR = 'VALOR'
AND CTQ_ITCPAR = 'VALOR'
AND CTQ_CLCPAR = 'VALOR'
AND CTQ_UM = 'VALOR'
AND CTQ_VALOR = 0
AND CTQ_PERCEN = 0
AND CTQ_FORMUL = 'VALOR'
AND CTQ_INTERC = 'VALOR'
AND CTQ_AMARRA = 'VALOR'
AND CTQ_MSBLQL = 'VALOR'
AND CTQ_STATUS = 'VALOR'
AND CTQ_EVERAT = 'VALOR'
AND CTQ_REGRA = 'VALOR'
AND CTQ_E05ORI = 'VALOR'
AND CTQ_E05PAR = 'VALOR'
AND CTQ_E05CP = 'VALOR'
AND CTQ_E06ORI = 'VALOR'
AND CTQ_E06PAR = 'VALOR'
AND CTQ_E06CP = 'VALOR'