Commit d3971d06 authored by rbhogale's avatar rbhogale

Changed by Rohan on 28-02-13 for bug fixing during calculation of weights


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92766 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ffd91247
...@@ -323,16 +323,28 @@ public class PoRcpPos extends ValidatorEJB implements PoRcpPosLocal, PoRcpPosRem ...@@ -323,16 +323,28 @@ public class PoRcpPos extends ValidatorEJB implements PoRcpPosLocal, PoRcpPosRem
rs=null; rs=null;
pstmt.close(); pstmt.close();
pstmt=null; pstmt=null;
//Changed by Rohan on 28-02-13 for bug fixing of calculation of weights.start
rcpgrossWeight = grossWeight*quantity;
rcpnetWeight = netWeight*quantity;
//Changed by Rohan on 28-02-13 for bug fixing of calculation of weights.end
} }
//Changed by Rohan on 26/02/13 for bug fixing of calculation of weights .start //Changed by Rohan on 26/02/13 for bug fixing of calculation of weights .start
/* /*
rcpgrossWeight+=grossWeight*partQty; rcpgrossWeight+=grossWeight*partQty;
rcpnetWeight+=netWeight*partQty; rcpnetWeight+=netWeight*partQty;
*/ */
rcpgrossWeight+=grossWeight*quantity; //Changed by Rohan on 28-02-13 for bug fixing of calculation of weights.start
rcpnetWeight+=netWeight*quantity; /*
rcpgrossWeight = grossWeight*quantity;
rcpnetWeight = netWeight*quantity;
*/
//Changed by Rohan on 28-02-13 for bug fixing of calculation of weights.end
//Changed by Rohan on 26/02/13 for bug fixing of calculation of weights.end //Changed by Rohan on 26/02/13 for bug fixing of calculation of weights.end
rcptareWeight=rcpgrossWeight-rcpnetWeight; rcptareWeight = rcpgrossWeight-rcpnetWeight;
System.out.println("rcpgrossWeight:::::"+rcpgrossWeight+"rcpnetWeight::::"+rcpnetWeight);
System.out.println("rcpgrossWeight"+rcpgrossWeight+"rcpnetWeight"+rcpnetWeight+"rcptareWeight"+rcptareWeight); System.out.println("rcpgrossWeight"+rcpgrossWeight+"rcpnetWeight"+rcpnetWeight+"rcptareWeight"+rcptareWeight);
System.out.println("@@@@@ quantityStduom:["+nquantityStduom+"] ::::convQtyStduom:["+convQtyStduom+"] ::::rateStduom:["+rateStduom+"] :::::convRtuomStduom:["+convRtuomStduom+"]"); System.out.println("@@@@@ quantityStduom:["+nquantityStduom+"] ::::convQtyStduom:["+convQtyStduom+"] ::::rateStduom:["+rateStduom+"] :::::convRtuomStduom:["+convRtuomStduom+"]");
......
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