Commit 0ba7e1bd authored by ppatro's avatar ppatro

changes commited


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93432 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c9bb04b9
...@@ -452,7 +452,19 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote, ...@@ -452,7 +452,19 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
updateRowMap.put("tran_type","ID"); updateRowMap.put("tran_type","ID");
updateRowMap.put("qty_stduom", ""+ (quantity - actualQty));//140 updateRowMap.put("qty_stduom", ""+ (quantity - actualQty));//140
updateRowMap.put("quantity", ""+ (quantity - actualQty)); updateRowMap.put("quantity", ""+ (quantity - actualQty));
//Chnaged By Rohan on 03-08-13 for if stock is transfer from caspk to actpk then update no of art bug fixing.start
//noArt = Math.floor((quantity - actualQty) / shipperSize) ;
if(!"".equalsIgnoreCase(orderType) && ("Q".equals(orderType) || "T".equals(orderType) || "P".equals(orderType) || "E".equals(orderType) || "I".equals(orderType) ))
{
noArt = Math.floor((quantity) / shipperSize) ;
}
else
{
noArt = Math.floor((quantity - actualQty) / shipperSize) ; noArt = Math.floor((quantity - actualQty) / shipperSize) ;
}
//Chnaged By Rohan on 03-08-13 for if stock is transfer from caspk to actpk then update no of art bug fixing.end
updateRowMap.put("no_art", noArt); updateRowMap.put("no_art", noArt);
updateRowMap.put("gross_weight", caseGrossWeight * noArt); updateRowMap.put("gross_weight", caseGrossWeight * noArt);
updateRowMap.put("net_weight", caseNetWeight * noArt); updateRowMap.put("net_weight", caseNetWeight * noArt);
......
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