Commit 1bf477ff authored by ssarkar's avatar ssarkar

Update by sumit on 05/04/13 bug solved


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92945 ce508802-f39f-4f6c-b175-0d175dae99d5
parent b7ed906e
...@@ -6126,17 +6126,26 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo ...@@ -6126,17 +6126,26 @@ public class WaveGenerationPrc extends ProcessEJB implements WaveGenerationPrcLo
volumeRmaining = volumeRmaining - totalCaseOnPallet * caseVolume; volumeRmaining = volumeRmaining - totalCaseOnPallet * caseVolume;
System.out.println("case volumes reamining["+volumeRmaining+"]"); System.out.println("case volumes reamining["+volumeRmaining+"]");
System.out.println("calculating Count 1"+(volumeRmaining/caseVolume)+"]");
System.out.println("calculating Count with round 2"+Math.round((volumeRmaining/caseVolume))+"]");
System.out.println("case Count with floor 3"+Math.floor((volumeRmaining/caseVolume))+"]");
if(totalCaseOnPallet < (volumeRmaining/caseVolume)) if(totalCaseOnPallet < (volumeRmaining/caseVolume))
{ {
} }
else else
{ {
totalCaseOnPallet = (volumeRmaining/caseVolume); //Changed by sumit on 05/04/13 macking floor.
//totalCaseOnPallet = volumeRmaining/caseVolume;
totalCaseOnPallet = Math.round(volumeRmaining/caseVolume);
} }
//Changed by Rohan on 24-11-11 [WMIESUN006] For bug Fixing.start //Changed by Rohan on 24-11-11 [WMIESUN006] For bug Fixing.start
if(volumeRmaining == 0.0) //Changed by sumit on 05/04/13 modify condition.
//if(volumeRmaining == 0.0)
if(volumeRmaining <= 0.0)
{ {
System.out.println(" IN SIDE BREAK :::: ");
break; break;
} }
//Changed by Rohan on 24-11-11 [WMIESUN006] For bug Fixing.end //Changed by Rohan on 24-11-11 [WMIESUN006] For bug Fixing.end
......
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