Commit 6704149d authored by vhegde's avatar vhegde

changed by sankara on 13/05/14 updated replissconf given by pragyan


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95055 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4ee100ba
...@@ -2040,13 +2040,22 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote, ...@@ -2040,13 +2040,22 @@ public class ReplIssConf extends ActionHandlerEJB implements ReplIssConfRemote,
if(quantity == replQty) if(quantity == replQty)
{ {
//sordAllocQty = quantity - allocQty ; //sordAllocQty = quantity - allocQty ;
System.out.println("Inside repl quantity is equal");
sordAllocQty = allocQty ; sordAllocQty = allocQty ;
} }
else if((sordAllocQty == allocQty) && (replQty - pickQty) > 0) //else if((sordAllocQty == allocQty) && (replQty - pickQty) > 0)
else if((quantity == sordAllocQty) && (replQty - pickQty) > 0)
{ {
System.out.println("Inside repl quantity is equal sordAllocQty and (replQty - pickQty) > 0");
sordAllocQty = replQty ; sordAllocQty = replQty ;
} }
//else if((sordAllocQty == allocQty) && (replQty - pickQty) > 0)
else if(((quantity - allocQty) < replQty) && (replQty - pickQty) > 0)
{
System.out.println("Inside repl quantity (quantity - allocQty) < replQty");
sordAllocQty = pickQty + ( (replQty -(pickQty + (quantity - allocQty)) ));
System.out.println("Inside repl quantitypickQty + ( (replQty -(pickQty + (quantity - allocQty))["+sordAllocQty+"]");
}
else else
{ {
sordAllocQty = 0.0; sordAllocQty = 0.0;
......
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