Commit 65f7ea3e authored by caluka's avatar caluka

timeCtrLength condition for requiremnt


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98083 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3847f388
...@@ -10168,15 +10168,15 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -10168,15 +10168,15 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
double runningSupplySum = 0,planSupplySumSum = 0; double runningSupplySum = 0,planSupplySumSum = 0;
int timeCtrLength=0; int timeCtrLength=0;
//for (int timeCtr = 0; timeCtr < timeMRParr.size(); timeCtr++) //for (int timeCtr = 0; timeCtr < timeMRParr.size(); timeCtr++)
/*if(isDetailReq) //comment added by chandrashekar on 01/06/15 if(isDetailReq)
{ {
timeCtrLength=1; timeCtrLength=1;
} }
else else
{ {
timeCtrLength= timeMRParr.size(); timeCtrLength= timeMRParr.size();
}*/ }
if(isRequirement) /*if(isRequirement)
{ {
timeCtrLength= timeMRParr.size(); timeCtrLength= timeMRParr.size();
...@@ -10184,7 +10184,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe ...@@ -10184,7 +10184,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
else else
{ {
timeCtrLength=1; timeCtrLength=1;
} }*/
for (int timeCtr = 0; timeCtr < timeCtrLength ; timeCtr++) for (int timeCtr = 0; timeCtr < timeCtrLength ; timeCtr++)
{ {
if( timeMRParr.size() > 0) if( timeMRParr.size() > 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