From 26e8efcce8a38ccb2582c4711993cb8c00b12ede Mon Sep 17 00:00:00 2001 From: Lam Voong Date: Fri, 22 Jul 2016 10:53:25 -0700 Subject: [PATCH] Add When No Data band; update query to allow for 0 records returned. --- .../src/main/resources/coreAcquisition.jrxml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/coreAcquisition.jrxml b/services/report/3rdparty/jasper-cs-report/src/main/resources/coreAcquisition.jrxml index 2bf574434..64d93c55e 100644 --- a/services/report/3rdparty/jasper-cs-report/src/main/resources/coreAcquisition.jrxml +++ b/services/report/3rdparty/jasper-cs-report/src/main/resources/coreAcquisition.jrxml @@ -1,5 +1,5 @@ - + @@ -58,7 +58,9 @@ left outer join objectproductionorganizationgroup opog on (opog.id=h6.id) left outer join hierarchy h7 on (ac.id=h7.parentid and h7.pos=0and h7.name='acquisitions_common:acquisitionDateGroupList') left outer join structureddategroup dg on (dg.id=h7.id) LEFT OUTER JOIN acquisitions_common_acquisitionsources aca ON (aca.id=ac.id and aca.pos=0) -WHERE h1.name = $P{csid} +LEFT OUTER JOIN misc m ON (m.id = co.id) +WHERE m.lifecyclestate != 'deleted' +AND h1.name = $P{csid} ORDER BY objectnumber]]> @@ -283,4 +285,15 @@ ORDER BY objectnumber]]> + + + + + + + + + + + -- 2.47.3