From 29deb767b1e51c377b27945c87916da617a39c92 Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Wed, 28 Mar 2007 04:00:12 +0000 Subject: [PATCH] fixed [ 1680304 ] Problem with Replenish Report when you use custom type http://sourceforge.net/tracker/index.php?func=detail&aid=1680304&group_id=176962&atid=879332 --- base/src/org/compiere/process/ReplenishReport.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/base/src/org/compiere/process/ReplenishReport.java b/base/src/org/compiere/process/ReplenishReport.java index 1f3f3bd148..2282cd6f27 100644 --- a/base/src/org/compiere/process/ReplenishReport.java +++ b/base/src/org/compiere/process/ReplenishReport.java @@ -314,8 +314,8 @@ public class ReplenishReport extends SvrProcess // Custom Replenishment String className = wh.getReplenishmentClass(); - if (className == null || className.length() == 0) - return; + if (className != null && className.length() > 0) + { // Get Replenishment Class ReplenishInterface custom = null; try @@ -350,7 +350,7 @@ public class ReplenishReport extends SvrProcess replenish.save(); } } - + } // Delete rows where nothing to order sql = "DELETE T_Replenish " + "WHERE QtyToOrder < 1"