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
This commit is contained in:
vpj-cd 2007-03-28 04:00:12 +00:00
parent 48916e2c42
commit 29deb767b1
1 changed files with 3 additions and 3 deletions

View File

@ -314,8 +314,8 @@ public class ReplenishReport extends SvrProcess
// Custom Replenishment // Custom Replenishment
String className = wh.getReplenishmentClass(); String className = wh.getReplenishmentClass();
if (className == null || className.length() == 0) if (className != null && className.length() > 0)
return; {
// Get Replenishment Class // Get Replenishment Class
ReplenishInterface custom = null; ReplenishInterface custom = null;
try try
@ -350,7 +350,7 @@ public class ReplenishReport extends SvrProcess
replenish.save(); replenish.save();
} }
} }
}
// Delete rows where nothing to order // Delete rows where nothing to order
sql = "DELETE T_Replenish " sql = "DELETE T_Replenish "
+ "WHERE QtyToOrder < 1" + "WHERE QtyToOrder < 1"