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
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"