Commit 7159e6ac authored by dpawar's avatar dpawar

set quantity as actual qty for orderType 'V' (Active packing)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98160 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 379a939e
...@@ -335,17 +335,33 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote, ...@@ -335,17 +335,33 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
pstmtPick.close(); pstmtPick.close();
pstmtPick = null; pstmtPick = null;
//Changed by Dadaso pawar on 26/06/15 [Start] For active packing
/*actualQty = quantity - pickQty;
actualQty = quantity - pickQty;
//Changed By Pragyan 03-May-14 for changed Last case logic if pick quantity > last case.start //Changed By Pragyan 03-May-14 for changed Last case logic if pick quantity > last case.start
actualAllocQty = getStockQuantity(itemCode,siteCode,locCode,lotNo,lotSl,quantity,true,pickQty,conn); actualAllocQty = getStockQuantity(itemCode,siteCode,locCode,lotNo,lotSl,quantity,true,pickQty,conn);
//if(actualQty > actualAllocQty) //if(actualQty > actualAllocQty)
System.out.println("Pick Quantity:="+pickQty); System.out.println("Pick Quantity:="+pickQty);
System.out.println("Actual Quantity:="+actualQty); System.out.println("Actual Quantity:="+actualQty);
System.out.println("Actual Allocate Quantity:="+actualAllocQty); System.out.println("Actual Allocate Quantity:="+actualAllocQty);*/
if("V".equalsIgnoreCase(orderType))
{
actualQty = quantity;
}
else
{
actualQty = quantity - pickQty;
//Changed By Pragyan 03-May-14 for changed Last case logic if pick quantity > last case.start
actualAllocQty = getStockQuantity(itemCode,siteCode,locCode,lotNo,lotSl,quantity,true,pickQty,conn);
//if(actualQty > actualAllocQty)
System.out.println("Pick Quantity:="+pickQty);
System.out.println("Actual Quantity:="+actualQty);
System.out.println("Actual Allocate Quantity:="+actualAllocQty);
}
//Changed by Dadaso pawar on 26/06/15 [End]
if(actualAllocQty != 0.0 && pickQty < actualAllocQty) if(actualAllocQty != 0.0 && pickQty < actualAllocQty)
{ {
......
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