Commit 67dce9bb authored by cpatil's avatar cpatil

update code on cvs


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94400 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a8b92c58
......@@ -1518,47 +1518,59 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
}
rs2.close();
pstmt2.close();
System.out.println("@@@@@1 stkQtyLot["+stkQtyLot+"]:::remainingQty["+remainingQty+"]:::qtyPerArt["+qtyPerArt+"]");
System.out.println("@@@@@1 stkQtyLot["+stkQtyLot+"]:::remainingQty["+remainingQty+"]:::qtyPerArt["+qtyPerArt+"]inputQty["+inputQty+"]");
if( qtyPerArt > 0 )
{
if( (remainingQty % qtyPerArt) > 0 )
{
inputQty = ( (int)(remainingQty/qtyPerArt) + 1 ) * qtyPerArt;
System.out.println("@@@@@@@inputQty:["+inputQty+"]");
System.out.println("@@@@@@@inputQty:["+inputQty+"]availQty["+availQty+"]");
if( inputQty > availQty) // added by cpatil on 03/03/14 as per manoharan sir suggestion
{
System.out.println("@@@@@@@inputQty01:["+inputQty+"]");
inputQty = availQty ;
System.out.println("@@@@@@@inputQty02:["+inputQty+"]");
}
System.out.println("@@@@@@@inputQty03:["+inputQty+"]");
}
System.out.println("@@@@@@@inputQty04:["+inputQty+"]");
}
else
{
System.out.println("@@@@@@@5 remainingQty:["+remainingQty+"]availQty["+availQty+"]inputQty["+inputQty+"]");
if( remainingQty > availQty) // added by cpatil on 03/03/14
{
inputQty = availQty ;
System.out.println("@@@@@@@inputQty1:["+inputQty+"]");
}
else
{
inputQty = remainingQty;
System.out.println("@@@@@@@inputQty4:["+inputQty+"]");
}
System.out.println("@@@@@@@inputQty:["+inputQty+"]");
System.out.println("@@@@@@@inputQty2:["+inputQty+"]");
}
}
//end
else
{
System.out.println("@@@@@@@inputQty51:["+inputQty+"]");
inputQty = remainingQty;
System.out.println("@@@@@@@inputQty52:["+inputQty+"]");
}
remainingQty = 0;
System.out.println("@@@@@@@ if inputQty6:["+inputQty+"]");
}
else if (stkQtyLot < remainingQty)
{
System.out.println("test stkQtyLot [" + stkQtyLot + "] remainingQty [" + remainingQty + "] inputQty [" + inputQty + "]");
inputQty = stkQtyLot;
remainingQty = remainingQty - inputQty;
System.out.println("@@@@@@@inputQty7:["+inputQty+"]remainingQty["+remainingQty+"]");
}
System.out.println("inputQty :: " + inputQty);
System.out.println("final inputQty3 :: ["+inputQty+"]");
valueXmlString.append("<Detail>\r\n");
valueXmlString.append("<tran_id>").append("<![CDATA[").append(woIss).append("]]>").append("</tran_id>\r\n");
......
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