Commit d4cc6939 authored by ppatro's avatar ppatro

To merge src for WMS updated wave gen changes.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91967 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8bb5e937
......@@ -674,6 +674,7 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
{
minSelfLife = 0;
orderByStkStr = "";
tranName = "";
isActives = false;
pendingQty = rs.getDouble("PENDING_QUANTITY");
itemCode = checkNull(rs.getString(6));
......@@ -2234,7 +2235,9 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
orderByStkStr = "ORDER BY STOCK.EXP_DATE,QTY_AVAIL_ALLOC DESC,INVSTAT.ALLOC_PREF, STOCK.LOC_CODE ";
}
}*/
if((pendingQty % packSize1) > 0)
//Changed By Pragyan to check partial cases on Allocate Quantity.
//if((pendingQty % packSize1) > 0)
if((allocQty % packSize1) > 0 || (allocQty < packSize1))
{
isActives = true;
orderByStkStr = "AND LOCATION.INV_STAT IN(?,?,?,?,?) ORDER BY STOCK.EXP_DATE,INVSTAT.ALLOC_PREF, STOCK.LOC_CODE ";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment