DEMANDAS
A tabela DL8 faz parte do sistema ERP Protheus da TOTVS e é utilizada para demandas.
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 DL8 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 DL8, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | DL8 |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | DL8990 |
| X2_NOME | DEMANDAS |
| X2_NOMESPA | DEMANDAS |
| X2_NOMEENG | DEMANDS |
| X2_ROTINA | - |
| X2_MODO | C |
| X2_MODOUN | C |
| X2_MODOEMP | C |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | DL8_FILIAL+DL8_COD+DL8_SEQ |
| X2_PYME | S |
| X2_MODULO | 43 |
| X2_DISPLAY | - |
| X2_SYSOBJ | TMSA158 |
| 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_ | 3390 |
| 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DL8 | 01 | DL8_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Código da Filial | Código de la sucursal | Branch Code | - | - | x x x x x x x x x x x x x x x | - | - | 1 | x | - | - | - | - | V | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52303 | 0 |
| DL8 | 02 | DL8_FILEXE | C | 2 | 0 | Fil Execução | Suc Ejecució | Execution br | Filial de Execução | Sucursal de ejecución | Execution Branch | - | Vazio() .Or. ExistCpo("SM0", cEmpAnt+M->DL8_FILEXE) | x x x x x x x x x x x x x x x x | cFilAnt | XM0 | 1 | x x | - | - | - | S | A | R | - | - | - | - | - | - | INCLUI | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52304 | 0 |
| DL8 | 03 | DL8_COD | C | 8 | 0 | Código | Código | Code | Código da demanda | Código de la demanda | Demand code | @! | - | x x x x x x x x x x x x x x x xx | GetSXENum( "DL8", "DL8_COD" ) | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52305 | 0 |
| DL8 | 04 | DL8_SEQ | C | 2 | 0 | Sequência | Secuencia | Sequence | Sequencial da demanda | Secuencia de la demanda | Demand Sequence | @! | - | x x x x x x x x x x x x x x x xx | '01' | - | 1 | x x | - | - | - | S | V | R | - | - | - | - | - | - | INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52306 | 0 |
| DL8 | 05 | DL8_CRTDMD | C | 8 | 0 | Cont Demanda | Cta. Demanda | Demand Contr | Cód. contrato de demanda | Cód. contrato de demanda | Demand contract code | @! | TM153AVal("M->DL8_CRTDMD") | x x x x x x x x x x x x x x x x | - | DL72 | 1 | x | - | S | - | S | A | R | - | - | - | - | - | - | TMVALIDALT() | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52307 | 0 |
| DL8 | 06 | DL8_CODGRD | C | 8 | 0 | Grupo Reg. | Grupo Reg. | Reg Group | Grupo Reg. Demanda | Grupo Reg. Demanda | Demand Reg Group | @! | TM153AVal("M->DL8_CODGRD") | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52308 | 0 |
| DL8 | 07 | DL8_DESGRD | C | 30 | 0 | Desc Grupo R | Desc Grupo R | R Group Desc | Desc. Grupo Reg Demandas | Desc. Grupo Reg. Demandas | Demand Reg Group Desc | @! | - | x x x x x x x x x x x x x x x x | IIF(INCLUI,"",TMS153ABrw("DL8_DESGRD")) | - | 1 | xx | - | - | - | S | V | V | - | - | - | - | - | - | - | TMS153ABrw("DL8_DESGRD") | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52309 | 0 |
| DL8 | 08 | DL8_TIPVEI | C | 2 | 0 | Tp Vei. Meta | Tp Vehíc. Me | Tp Vehi Goal | Tipo do Veiculo da Meta | Tipo del vehículo de la m | Type of Vehicle of Goal | @! | TM153AVal("M->DL8_TIPVEI") | x x x x x x x x x x x x x x x x | - | DUT | 1 | xx | - | S | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52310 | 0 |
| DL8 | 09 | DL8_DESTVE | C | 30 | 0 | Desc Tip Vei | Desc Tip Veh | Vehic Tp Des | Desc Tipo Veículo | Desc Tipo vehículo | Vehicle Type Desc | @! | - | x x x x x x x x x x x x x x x x | IIF(INCLUI,"",POSICIONE("DUT",1,XFILIAL("DUT")+DL8->DL8_TIPVEI,"DUT_DESCRI")) | - | 1 | xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52311 | 0 |
| DL8 | 10 | DL8_DATPRV | D | 8 | 0 | Prev. atend. | Prev. atenc. | Serv Est | Previsão de atendimento | Previsión de atención | Service estimation | - | - | 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 | 1 | - | - | - | 52312 | 0 |
| DL8 | 11 | DL8_HORPRV | C | 4 | 0 | Hr Previsão | Hr. Previsió | Estimated Tm | Hora de prev. atendimento | Hora de prev. atención | Service Estimated Time | @R 99:99 | IIF(Empty(M->DL8_HORPRV),.T.,AtVldHora(M->DL8_HORPRV)) | 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 | 1 | - | - | - | 52313 | 0 |
| DL8 | 12 | DL8_CLIDEV | C | 6 | 0 | Devedor | Deudor | Debtor | Cliente devedor | Cliente deudor | Debit Customer | @! | TM153AVal("M->DL8_CLIDEV") | x x x x x x x x x x x x x x x x | - | SA1DMD | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | EMPTY(M->DL8_CRTDMD) .AND. INCLUI | - | 001 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52314 | 0 |
| DL8 | 13 | DL8_LOJDEV | C | 2 | 0 | Loja | Tienda | Store | Loja do cliente devedor | Código del cliente deudor | Debtor Customer Store | @! | TM153AVal("M->DL8_LOJDEV") | x x x x x x x x x x x x x x x x | - | SA1LOJ | 1 | xxx | - | - | - | S | A | R | - | - | - | - | - | - | T153AWhen("DL8_LOJDEV") | - | 002 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52315 | 0 |
| DL8 | 14 | DL8_NOMDEV | C | 50 | 0 | Nome | Nombre | Name | Nome do devedor | Nombre del deudor | Debtor Name | @! | - | x x x x x x x x x x x x x x x x | Iif(Inclui,"",Posicione("SA1",1,xFilial("SA1")+DL8->DL8_CLIDEV+DL8->DL8_LOJDEV,"A1_NOME")) | - | 1 | x xx | - | - | - | S | V | V | - | - | - | - | - | - | - | TMS153ABrw("DL8_NOMDEV") | 175 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52316 | 0 |
| DL8 | 15 | DL8_QTCTDM | N | 14 | 4 | Tot Contrato | Tot Contrato | Contract Tot | Qtde total do contrato | Cant total del contrato | Contract Total Quantity | @E 999,999,999.9999 | - | x x x x x x x x x x x x x x x x | IIF(INCLUI,0,POSICIONE("DL7",1,XFILIAL("DL7")+DL8->DL8_CRTDMD, "DL7_QTDTOT")) | - | 1 | xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52317 | 0 |
| DL8 | 16 | DL8_SDCTDM | N | 14 | 4 | Sld Contrato | Sld Contrato | Contract Bl. | Saldo contrato de demanda | Saldo contrato de demanda | Demand contract balance | @E 999,999,999.9999 | - | x x x x x x x x x x x x x x x x | IIF(!INCLUI,TMCALCQTD('SALDO',DL7->DL7_QTDTOT,2),0) | - | 1 | xx | - | - | - | N | V | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52318 | 0 |
| DL8 | 17 | DL8_UM | C | 1 | 0 | Unidade | Unidad | Unit | Unidade referente à qtde | Unidad referente a la Can | Unit related to quantity | @! | Pertence("12") .And. TM153AVal('DL8_UM') | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | - | - | S | A | R | - | - | 1=Peso;2=Quantidade de Veículos | 1=Peso;2=Cantidad de vehículos | 1=Weight;2=Quantity of Vehicles | - | EMPTY(M->DL8_CRTDMD) .AND. INCLUI | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52319 | 0 |
| DL8 | 18 | DL8_QTD | N | 14 | 4 | Qtde | Cant. | Qty. | Quantidade da demanda | Cantidad de la demanda | Demand Quantity | @E 999,999,999.9999 | POSITIVO() .And. TM153AVal('DL8_QTD') .And. VALIDQTDEM('M->DL8_UM','M->DL8_QTD') | x x x x x x x x x x x x x x x x | - | - | 1 | xxx | - | S | - | S | A | R | - | - | - | - | - | - | M->DL8_UM == "2" | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52320 | 0 |
| DL8 | 19 | DL8_STATUS | C | 1 | 0 | Status | Estatus | Status | Status Demanda | Estatus demanda | Demand Status | @! | Pertence("1234567") | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | N | V | R | - | - | 1=Aberta;2=Planejada;3=Recusada;4=Finalizada;5=Em Reprocesso;6=Bloqueada;7=Cancelada | 1=Abierta;2=Planificada;3=Recusada;4=Finalizada;5=En Reproceso;6=Bloqueada;7=Anuada | 1=Pending;2=Planned;3=Rejected;4=Finalized;5=Reprocess;6=Blocked;7=Canceled | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52321 | 0 |
| DL8 | 20 | DL8_MOTSTA | C | 100 | 0 | Mot. Status | Mot. Estatus | St Reas | Motivo do Status | Motivo del estatus | Status Reason | - | - | 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 | - | - | - | 52322 | 0 |
| DL8 | 21 | DL8_PLNDMD | C | 8 | 0 | Cód Planejam | Cód Planific | Planning cod | Código do Planejamento | Código de la planificació | Planning Code | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | V | R | - | - | - | - | - | - | TMVALIDALT() | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52323 | 0 |
| DL8 | 22 | DL8_CODOBS | C | 6 | 0 | Cód observac | Cód observac | Note cd | Código da observação | Código de la observación | Note code | @! | - | 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 | 1 | - | - | - | 52324 | 0 |
| DL8 | 23 | DL8_OBS | M | 360 | 0 | Observação | Observación | Note | Descrição da Observação | Descripción de la observa | Note description | - | - | x x x x x x x x x x x x x x x x | Iif(Inclui,"",E_MSMM(DL8->DL8_CODOBS,80)) | - | 1 | xx | - | - | - | N | A | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52325 | 0 |
| DL8 | 24 | DL8_FILGER | C | 2 | 0 | Fil. Geração | Suc. Generac | Gener Br | Filial de Geração | Sucursal de generación | Generation Branch | - | Vazio() .Or. ExistCpo("SM0", cEmpAnt+M->DL8_FILGER) | x x x x x x x x x x x x x x x x | cFilAnt | XM0 | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | INCLUI | - | 033 | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52326 | 0 |
| DL8 | 25 | DL8_MARK | C | 2 | 0 | Mark | Mark | Mark | Sel do registro em tela | Sel del registro en panta | Sel of record on screen | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xx | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 1 | - | - | - | 52327 | 0 |
| DL8 | 26 | DL8_ORIDMD | C | 1 | 0 | Origem Deman | Origen Deman | Src Deman | Origem da Demanda | Origen de la demanda | Source of Demand | @! | - | x x x x x x x x x x x x x x x x | "1" | - | 1 | xx | - | - | - | N | - | R | - | - | 1=Gestão de Demandas;2=Coleta; 3=Nota Fiscal; 4=Conhecimento; 5=Outros | 1=Gestión de demandas;2=Recolección; 3=Factura; 4=Conocimiento; 5=Otros | 1=Management of Demands;2=Collection; 3=Invoice; 4=Waybill; 5=Others | - | - | - | - | - | S | - | - | N | - | N | - | - | - | 1 | 2 | - | - | - | 52328 | 0 |
| DL8 | 27 | DL8_SEQMET | C | 3 | 0 | Seq. de Meta | Sec. de Meta | Goal Seq | Sequência de Meta | Secuencia de meta | Goal Sequence | @! | - | 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 | - | - | - | 52329 | 0 |
| DL8 | 28 | DL8_QTDPO | N | 4 | 0 | Pontos Orig. | Puntos Orig. | Orig Score | Pontos origem da Demanda | Puntos origen de demanda | Demand origin score | @E 9,999 | - | 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 | - | - | - | 52330 | 0 |
| DL8 | 29 | DL8_QTDPD | N | 4 | 0 | Pontos Dest. | Puntos Dest. | Dest Score | Pontos destino da Demanda | Puntos destino de demanda | Demand Destination Score | @E 9,999 | - | 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 | - | - | - | 52331 | 0 |
| DL8 | 30 | DL8_PRVORI | D | 8 | 0 | Prev. Origem | Prev. Origen | Orig Est | Dt Previsão Origem | Fch Previsión origen | Origin Estimation Date | - | - | 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 | - | - | - | 52332 | 0 |
| DL8 | 31 | DL8_HRPROR | C | 4 | 0 | Hora Prv Ori | Hora Prv Ori | Orig Est Tim | Hora Previsão Origem | Hora previsión origen | Origin Estimation Time | @R 99:99 | - | 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 | - | - | - | 52333 | 0 |
| DL8 | 32 | DL8_PRVDES | D | 8 | 0 | Prev Destino | Prev Destino | Dest Estim | Dt Previsão Destino | Fch Previsión destino | Destination Estimation Da | - | - | 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 | - | - | - | 52334 | 0 |
| DL8 | 33 | DL8_HRPRDS | C | 4 | 0 | Hr Prev Dest | Hr Prev Dest | Dest. Est. T | Hora Previsão Destino | Hora previsión destino | Destination Estimation Ti | @R 99:99 | - | 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 | - | - | - | 52335 | 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_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DL8 | 1 | DL8_FILIAL+DL8_COD+DL8_SEQ | Código + Sequência | Código + Secuencia | Code + Sequence | S | - | - | S | 2 | 3 | - | 8055 | 0 |
| DL8 | 2 | DL8_FILIAL+DL8_MARK | Mark | Mark | Mark | S | - | - | N | 2 | 3 | - | 8056 | 0 |
| DL8 | 3 | DL8_FILIAL+DTOS(DL8_DATPRV)+DL8_HORPRV | Prev. atend. + Hr Previsão | Prev. atenc. + Hr. Previsió | Serv Est + Estimated Tm | S | - | - | S | 2 | 3 | - | 8057 | 0 |
| DL8 | 4 | DL8_FILIAL+DL8_CRTDMD+DL8_CLIDEV+DL8_LOJDEV+DL8_PLNDMD+DL8_STATUS | Cont Demanda + Devedor + Loja + Cód Planejam + Status | Cta. Demanda + Deudor + Tienda + Cód Planific + Estatus | Demand Contr + Debtor + Store + Planning cod + Status | S | - | - | N | 2 | 3 | - | 8058 | 0 |
| DL8 | 5 | DL8_FILIAL+DL8_STATUS+DL8_PLNDMD+DTOS(DL8_DATPRV)+DL8_HORPRV | Status + Cód Planejam + Prev. atend. + Hr Previsão | Estatus + Cód Planific + Prev. atenc. + Hr. Previsió | Status + Planning cod + Serv Est + Estimated Tm | S | - | - | N | 2 | 3 | - | 8059 | 0 |
| DL8 | 6 | DL8_FILIAL+DL8_PLNDMD+DL8_CLIDEV+DL8_LOJDEV | Cód Planejam + Devedor + Loja | Cód Planific + Deudor + Tienda | Planning cod + Debtor + Store | S | - | - | S | 2 | 3 | - | 8060 | 0 |
Ela é utilizada para demandas 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
DL8_FILIAL,
DL8_FILEXE,
DL8_COD,
DL8_SEQ,
DL8_CRTDMD,
DL8_CODGRD,
DL8_DESGRD,
DL8_TIPVEI,
DL8_DESTVE,
DL8_DATPRV,
DL8_HORPRV,
DL8_CLIDEV,
DL8_LOJDEV,
DL8_NOMDEV,
DL8_QTCTDM,
DL8_SDCTDM,
DL8_UM,
DL8_QTD,
DL8_STATUS,
DL8_MOTSTA,
DL8_PLNDMD,
DL8_CODOBS,
DL8_OBS,
DL8_FILGER,
DL8_MARK,
DL8_ORIDMD,
DL8_SEQMET,
DL8_QTDPO,
DL8_QTDPD,
DL8_PRVORI,
DL8_HRPROR,
DL8_PRVDES,
DL8_HRPRDS
FROM DL8
WHERE
D_E_L_E_T_ = ' '
AND DL8_FILIAL = 'VALOR'
AND DL8_FILEXE = 'VALOR'
AND DL8_COD = 'VALOR'
AND DL8_SEQ = 'VALOR'
AND DL8_CRTDMD = 'VALOR'
AND DL8_CODGRD = 'VALOR'
AND DL8_DESGRD = 'VALOR'
AND DL8_TIPVEI = 'VALOR'
AND DL8_DESTVE = 'VALOR'
AND DL8_DATPRV BETWEEN '20260401' AND '20260430'
AND DL8_HORPRV = 'VALOR'
AND DL8_CLIDEV = 'VALOR'
AND DL8_LOJDEV = 'VALOR'
AND DL8_NOMDEV = 'VALOR'
AND DL8_QTCTDM = 0
AND DL8_SDCTDM = 0
AND DL8_UM = 'VALOR'
AND DL8_QTD = 0
AND DL8_STATUS = 'VALOR'
AND DL8_MOTSTA = 'VALOR'
AND DL8_PLNDMD = 'VALOR'
AND DL8_CODOBS = 'VALOR'
AND DL8_FILGER = 'VALOR'
AND DL8_MARK = 'VALOR'
AND DL8_ORIDMD = 'VALOR'
AND DL8_SEQMET = 'VALOR'
AND DL8_QTDPO = 0
AND DL8_QTDPD = 0
AND DL8_PRVORI BETWEEN '20260401' AND '20260430'
AND DL8_HRPROR = 'VALOR'
AND DL8_PRVDES BETWEEN '20260401' AND '20260430'
AND DL8_HRPRDS = 'VALOR'