Project

General

Profile

Actions

Tareas #4016

open

revisar reporte de entrega de bienes inmuebles, where de query

Added by Jose Orlando about 2 years ago. Updated about 2 years ago.

Status:
En curso
Priority:
Normal
Assignee:
Start date:
09/01/2023
Due date:
% Done:

0%

Estimated time:

Description

filtro proy etapa

opcional grupo constructivo ( left join)

estado contrato issotrx Y

filtro de no entregado no depende de si hay grupo constructivo

where
cp.AD_Client_ID=$P{AD_Client_ID}
and (cp.ad_org_id=$P{AD_Org_ID} or $P{AD_Org_ID} is null )
and cp.isActive='Y'
and es.isValid='Y' and es.isActive='Y'
and (cc.tb_comiteConstruccion_ID=$P{tb_comiteConstruccion_ID} OR $P{tb_comiteConstruccion_ID} is null)

and case when $P{noEntregados}='Y' then cp.real_datepromised is null else cp.real_datepromised::date>=COALESCE
and cp.real_datepromised::date<=COALESCE end
order by 1,2,fechaEntregaReal

Actions

Also available in: Atom PDF