Commit a9065700 authored by pjain's avatar pjain

changed by sankara on 09/06/14 updated replissconf for no of articles


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95229 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a2fe76cb
......@@ -432,18 +432,28 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
updateRowMap.put("qty_stduom", ""+ (quantity - actualQty));//140
updateRowMap.put("quantity", ""+ (quantity - actualQty));
//changed by sankara on 09/06/14 for no of articles start.
//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) ))
/*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) ;
}
}*/
//Chnaged By Rohan on 03-08-13 for if stock is transfer from caspk to actpk then update no of art bug fixing.end
if(quantity < shipperSize)
{
noArt = 1;
}
else
{
noArt = Math.floor(quantity / shipperSize);
}
System.out.println("Currently No Of Article check[" + noArt+"]");
//changed by sankara on 09/06/14 for no of articles end.
updateRowMap.put("no_art", noArt);
updateRowMap.put("gross_weight", caseGrossWeight * 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