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:
parent
48916e2c42
commit
29deb767b1
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue