Negociações por Cliente
A tabela DDC faz parte do sistema ERP Protheus da TOTVS e é utilizada para negociações por cliente.
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 DDC 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 DDC, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DDC |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DDC990 |
| X2_NOME | Negociações por Cliente |
| X2_NOMESPA | Negociaciones por cliente |
| X2_NOMEENG | Negotiations per Customer |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DDC_FILIAL+DDC_NCONTR+DDC_ITEM |
| X2_PYME | S |
| X2_MODULO | 43 |
| 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_ | 3151 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DDC | 01 | DDC_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 | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 48813 | 0 |
| DDC | 02 | DDC_NCONTR | C | 15 | 0 | Contrato | Contrato | Contract | Número do Contrato | Numero del contrato | Contract Number | @! | - | x x x x x x x x x x x x x x x xxx | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48814 | 0 |
| DDC | 03 | DDC_ITEM | C | 2 | 0 | Item | Item | Item | Item da Negociação | Item de negociacion | Negotiation Item | @! | ExistChav("DDC",M->DDC_NCONTR + M->DDC_ITEM,,"EXISTCLI") | x x x x x x x x x x x x x x x xxx | - | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48815 | 0 |
| DDC | 04 | DDC_CODNEG | C | 2 | 0 | Cod Negociac | Cod Negociac | Negot. Code | Código da Negociação | Codigo de la negociacion | Negotiation Code | @! | Existcpo("DDB") .And. Iif(IsInCallStack("TMSF79TELA"),TMSF79VCPO(),.T.) | x x x x x x x x x x x x x x x xx | - | DDB1 | 1 | x x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 119 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48816 | 0 |
| DDC | 05 | DDC_DESNEG | C | 30 | 0 | Desc Negoc | Desc Negoc | Negot. Desc. | Descrição da Negociação | Descripcion negociacion | Negotiation Description | @! | - | x x x x x x x x x x x x x x x x | Iif(Inclui,"",Posicione("DDB",1,xFilial("DDB") + DDC->DDC_CODNEG,"DDB_DESCRI")) | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48817 | 0 |
| DDC | 06 | DDC_TPCONT | C | 1 | 0 | Tipo Neg Ctr | Tipo Neg Con | Type Neg Ctr | Tipo de Neg. Contrato | Tipo Neg. Contrato | Contract Neg. Type | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | x x | - | S | - | S | A | R | - | - | 1=Vitalicia;2=Tempo Determinado | 1=Vitalicia;2=Tiempo determinado | 1=Lifetime;2=Determined Time | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48818 | 0 |
| DDC | 07 | DDC_INIVIG | D | 8 | 0 | Ini Vigência | Ini Vigencia | Validity Str | Data Inicio de Vigencia | Fch. Inicial de vigencia | Validity Start Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48819 | 0 |
| DDC | 08 | DDC_FIMVIG | D | 8 | 0 | Fim Vigência | Fin Vigencia | Validity End | Data Fim de Vigencia | Fch. Final de vigencia | Validity End Date | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | AT250When() | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48820 | 0 |
| DDC | 09 | DDC_STATUS | C | 1 | 0 | Status | Estatus | Status | Status da Negociação | Estatus de negociacion | Negotiation Status | @! | Pertence("1234") .And. AT250Val() | x x x x x x x x x x x x x x x x | "1" | - | 1 | x x | - | - | - | N | A | R | - | - | 1=Ativa;2=Suspensa;3=Encerrada;4=Cancelada | 1=Activa;2=Suspendida;3=Finalizada;4=Anulada | 1=Active;2=Suspended;3=Close;4=Cancelled | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48821 | 0 |
| DDC | 10 | DDC_AGEVIR | C | 1 | 0 | Age Virtual | Prog Age Vir | Virtual Age | Agendamento Virtual | Program Agenda Virtual | Virtual Schedule | @! | Pertence("12") | x x x x x x x x x x x x x x x x | '2' | - | 1 | x | - | - | - | N | A | R | - | - | 1=Sim;2=Não | 1=Sí;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48822 | 0 |
| DDC | 11 | DDC_BACRAT | C | 1 | 0 | Base Calc.Ra | Base Cálc.Pr | ApportCalcBs | Base Calc.Rat. | Base Cálc.Prorrat. | Apport. Calc. Base | @! | Pertence('123') .And. AT250Val() | x x x x x x x x x x x x x x x x | '1' | - | 1 | xxx | - | - | - | N | A | R | - | - | 1=Não Utiliza;2=Ponto a Ponto;3=Consolidado | 1=No utiliza;2=Punto a punto;3=Consolidado | 1=Does not use;2=Point to Point;3=Consolidated | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48823 | 0 |
| DDC | 12 | DDC_CRIRAT | C | 1 | 0 | Crit.Calc.Ra | Crit.Cálc.Pr | ApportCalcCr | Criterio Calc.Rat. | Criterio Cálc.Prorrat. | Apport. Calc. Criteria | @! | TmsValField('M->DDC_CRIRAT',.T.,'DDC_DECRIR') .And. AT250Val() | x x x x x x x x x x x x x x x x | '1' | DLC | 1 | xxx | - | S | - | N | A | R | - | - | - | - | - | - | AT250When() | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48824 | 0 |
| DDC | 13 | DDC_DECRIR | C | 35 | 0 | Desc.Cri.Cal | Desc.Cri.Cál | CalcCriDesc | Descrição Crit.Cal. Ratei | Descrip. Crit.Cál. Prorra | Apport. Calc. Crit. Descr | @! | - | x x x x x x x x x x x x x x x x | AT250Ini() | - | 1 | x xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 48825 | 0 |
| DDC | 14 | DDC_PRORAT | C | 1 | 0 | Criterio Rat | Criterio Pro | Apport Crit | Criterio Rateio | Criterio prorrateo | Apportionment Criteria | - | TmsValField('M->DDC_PRORAT',.T.,'DDC_DEPROR') .And. AT250Val() | x x x x x x x x x x x x x x x x | '1' | DLC | 1 | xxx | - | S | - | N | A | R | - | - | - | - | - | - | AT250When() | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48826 | 0 |
| DDC | 15 | DDC_DEPROR | C | 30 | 0 | Desc.Cri.Rat | Desc.Cri.Pro | ApportCriDes | Descrição Criterio Rateio | Descrip. Criterio Prorrat | Apport. Criteria Descrip. | @! | - | x x x x x x x x x x x x x x x x | AT250Ini() | - | 1 | x xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 48827 | 0 |
| DDC | 16 | DDC_TIPOKM | C | 1 | 0 | Tipo KM | Tipo KM | KM Type | Tipo de KM Utilizada | Tipo de KM utilizado | KM Type Used | @! | Pertence('12') | x x x x x x x x x x x x x x x x | "1" | - | 1 | x xx | - | - | - | N | A | R | - | - | 1=KM da Transportadora;2=Km do Cliente | 1=KM de la Transportadora;2=Km del Cliente | 1=Km of Carrier;2=Km of Customer | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 48828 | 0 |
| DDC | 17 | DDC_PERCUS | N | 4 | 1 | % Cust x Rec | % Cost vs In | %Cost x Inc | % Custo sobre a Receita. | % Costo sobre el ingreso | % Cost over Income | @E 99.9 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48829 | 0 |
| DDC | 18 | DDC_CRDVFA | C | 1 | 0 | Crit.Dev.Fal | Crit.Deu.Fal | Miss.Deb.Cri | Criterio Devedor Faltante | Criterio deudor faltante | Missing Debtor Criterio | @! | Pertence('012') | x x x x x x x x x x x x x x x | '0' | - | 1 | xx | - | - | - | N | A | R | - | - | 0=Não Utiliza;1=Divisão Aritmetica;2=Divisão Proporcional | 0=No utiliza;1=División aritmética;2=División proporcional | 0=Does not use;1=Arithmetic division;2=Proportional division] | - | AT250When() | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48830 | 0 |
| DDC | 19 | DDC_CRDVDC | C | 1 | 0 | Sub.Cri.%Fix | Subcrit.%Fij | Fix%SubCrit | Sub.Criterio %Fixo | Subcriterio %Fijo | Fixed % Sub Criterion | @! | Pertence('0123456') | x x x x x x x x x x x x x x x | '0' | - | 1 | xx | - | - | - | N | A | R | - | - | 0=Não Utiliza;1=Peso Real;2=Peso Cubado;3=Vlr Mercadoria;4=Volumes;5=M3;6=Qtd Doctos | 0=No utiliza;1=Peso real;2=Peso cubicado;3=Val Mercadoría;4=Volumes;5=M3;6=Qtd Doctos | 0=Not Used;1=Actual Weight;2=Cubed Weight;3=Goods Value;4=Volumes;5=M3;6=Docs Qty | - | AT250When() | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48831 | 0 |
| DDC | 20 | DDC_ADIDOC | N | 3 | 0 | Taxa Adi.Doc | Tasa Adi.Doc | Doc Add Rate | Taxa Adic.Por Docto | Tasa Adic.Por Docto | Additional Rate per Docum | @E 999 | Positivo() | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 2 | - | - | - | 48832 | 0 |
| DDC | 21 | DDC_CRDVHV | C | 1 | 0 | Crit.Her.Vlr | Crit.Her.Val | Inh.Val.Crit | Criterio Herda Valor | Criterio hereda valor | Inherit Value Criterion | @! | Pertence('0123456') | x x x x x x x x x x x x x x x x | '0' | - | 1 | xxx | - | - | - | N | A | R | - | - | 0=Nao Utiliza;1=Peso Real;2=Peso Cubado;3=Vlr Mercadoria;4=Volumes;5=M3;6=Qtd Doctos | 0=No utiliza;1=Peso real;2=Peso cubicado;3=Val Mercadoría;4=Volumes;5=M3;6=Qtd Doctos | 0=Not Used;1=Actual Weight;2=Cubed Weight;3=Goods Value;4=Volumes;5=M3;6=Docs Qty | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48833 | 0 |
| DDC | 22 | DDC_VALCOL | C | 1 | 0 | Val.Col.N.Re | Val.Rec.N.Re | N.Re.Col.Val | Valoriza Coleta Nao Real. | Valoriz. Recol. No Real. | Value Non Real. Collec. | @! | Pertence('012') | x x x x x x x x x x x x x x x x | '0' | - | 1 | x x | - | - | - | N | A | R | - | - | 0=Não Utiliza;1=Sim;2=Não | 0=No utiliza;1=Sí;2=No | 0=Does not use;1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48834 | 0 |
| DDC | 23 | DDC_TIPOPE | C | 1 | 0 | Tip.Operação | Tip.Operac. | Oper Tp | Tipo de Operação | Tipo de operación | Operation Type | @! | Pertence('0123') | x x x x x x x x x x x x x x x x | '0' | - | 1 | x x | - | - | - | N | A | R | - | - | 0=Não Utiliza;1=Somente Coleta;2=Coleta com Entrega;3=Coleta com Docto | 0=No utiliza;1=Solo recolecta;2=Recolección con entrega;3=Recolección con Docto | 0=Does not use;1=Collection only;2=Collection w/ delivery;3=Collection w/ doc | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 2 | 1 | - | - | - | 48835 | 0 |
| DDC | 24 | DDC_SRVCOL | C | 3 | 0 | Srv.Coleta | Srv.Recolec | PickupServc. | Serviço de Coleta | Servicio de recolección | Pickup Service | @! | Vazio() .Or. (ExistCpo("DC5",,1) .And. AT250Val()) | x x x x x x x x x x x x x x x x | - | DLJ2 | 1 | x | - | S | - | N | A | R | - | - | - | - | - | - | - | - | 012 | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48836 | 0 |
| DDC | 25 | DDC_DESCOL | C | 30 | 0 | Desc.Srv.Col | Desc.Ser.Rec | Col Serv Des | Desc.Srv.Aut.Coleta | Desc.Serv.Aut.Recolección | Aut. Collect. Serv. Descr | @! | - | x x x x x x x x x x x x x x x x | Iif(Inclui .Or. Empty(DDC->DDC_SRVCOL),"",Tabela("L4",DDC->DDC_SRVCOL,.F.)) | - | 1 | x | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48837 | 0 |
| DDC | 26 | DDC_ALTVEI | C | 1 | 0 | Utiliza Veic | Utiliza Vehi | Use Vehicle | Utiliza Veiculo | Utiliza vehículo | Use Vehicle | @! | Pertence('123') | x x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | N | A | R | - | - | 1=Da Viagem;2=Da Nota;3=Viagem/Nota | 1=Del Viaje;2=De la Nota;3=Viaje/Nota | 1=From Trip;2=From Note;3=Trip/Note | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48838 | 0 |
| DDC | 27 | DDC_CMPOBR | C | 1 | 0 | Comp.Obrigat | Comp.Obligat | Mandat Comp | Componente Obrigatório? | ¿Componente obligatorio? | Mandatory Component? | @! | Pertence("12") | x x x x x x xx x x x x x x x x | "2" | - | 1 | x xx | - | - | - | S | A | R | - | - | 1=Sim;2=Não | 1=Sí;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48839 | 0 |
| DDC | 28 | DDC_CBRCOL | C | 1 | 0 | Cobra Coleta | Cobra Recol. | Chrg Collec | Cobra Coleta? | ¿Cobra recolección? | Chrg Collection? | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "1" | - | 1 | x x | - | - | - | N | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48840 | 0 |
| DDC | 29 | DDC_BLQCOL | C | 1 | 0 | Blq.Col.S/Vl | Blq.Col.S/Vl | Blc Col wo V | Bloqueia Coleta sem Valor | Bloquea Recolec sin valor | Block Collect w/o value | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | x x | - | - | - | N | A | R | - | - | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 48841 | 0 |
| DDC | 30 | DDC_DEVTRE | C | 1 | 0 | Tp.Dev.Trech | Tp.Dev.Trech | Stretch Ret | Tipo Devol. Trecho | Tipo Devol. Trecho | Stretch Ret Type | @! | Pertence("12") | x x x x x x xx x x x x x x x x | "1" | - | 1 | xx | - | - | - | N | A | R | - | - | 1=Conf. Doc. Original;2=Conf. Trecho Inf. | 1=Conf. Doc. Original;2=Conf. Trecho Inf. | 1=Check Orig Doc;2=Check Inf. Stretch | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48842 | 0 |
| DDC | 31 | DDC_SERIE | C | 3 | 0 | Série | Serie | Series | Série | Serie | Series | @! | TMSA150Valid(M->DDC_SERIE) | x x x x x x x x x x x x x x x x | - | DVO | 1 | x | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 48843 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DDC | 1 | DDC_FILIAL+DDC_NCONTR+DDC_ITEM | Contrato + Item | Contrato + Item | Contract + Item | S | - | - | S | 2 | 3 | - | 7582 | 0 |
| DDC | 2 | DDC_FILIAL+DDC_NCONTR+DDC_CODNEG | Contrato + Cod Negociac | Contrato + Cod Negociac | Contract + Negot. Code | S | - | - | S | 2 | 3 | - | 7583 | 0 |
Ela é utilizada para negociações por cliente 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
DDC_FILIAL,
DDC_NCONTR,
DDC_ITEM,
DDC_CODNEG,
DDC_DESNEG,
DDC_TPCONT,
DDC_INIVIG,
DDC_FIMVIG,
DDC_STATUS,
DDC_AGEVIR,
DDC_BACRAT,
DDC_CRIRAT,
DDC_DECRIR,
DDC_PRORAT,
DDC_DEPROR,
DDC_TIPOKM,
DDC_PERCUS,
DDC_CRDVFA,
DDC_CRDVDC,
DDC_ADIDOC,
DDC_CRDVHV,
DDC_VALCOL,
DDC_TIPOPE,
DDC_SRVCOL,
DDC_DESCOL,
DDC_ALTVEI,
DDC_CMPOBR,
DDC_CBRCOL,
DDC_BLQCOL,
DDC_DEVTRE,
DDC_SERIE
FROM DDC
WHERE
D_E_L_E_T_ = ' '
AND DDC_FILIAL = 'VALOR'
AND DDC_NCONTR = 'VALOR'
AND DDC_ITEM = 'VALOR'
AND DDC_CODNEG = 'VALOR'
AND DDC_DESNEG = 'VALOR'
AND DDC_TPCONT = 'VALOR'
AND DDC_INIVIG BETWEEN '20260501' AND '20260531'
AND DDC_FIMVIG BETWEEN '20260501' AND '20260531'
AND DDC_STATUS = 'VALOR'
AND DDC_AGEVIR = 'VALOR'
AND DDC_BACRAT = 'VALOR'
AND DDC_CRIRAT = 'VALOR'
AND DDC_DECRIR = 'VALOR'
AND DDC_PRORAT = 'VALOR'
AND DDC_DEPROR = 'VALOR'
AND DDC_TIPOKM = 'VALOR'
AND DDC_PERCUS = 0
AND DDC_CRDVFA = 'VALOR'
AND DDC_CRDVDC = 'VALOR'
AND DDC_ADIDOC = 0
AND DDC_CRDVHV = 'VALOR'
AND DDC_VALCOL = 'VALOR'
AND DDC_TIPOPE = 'VALOR'
AND DDC_SRVCOL = 'VALOR'
AND DDC_DESCOL = 'VALOR'
AND DDC_ALTVEI = 'VALOR'
AND DDC_CMPOBR = 'VALOR'
AND DDC_CBRCOL = 'VALOR'
AND DDC_BLQCOL = 'VALOR'
AND DDC_DEVTRE = 'VALOR'
AND DDC_SERIE = 'VALOR'