Commit 7e075384 authored by cpatil's avatar cpatil

modify for sava


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@103559 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e5450a8d
......@@ -890,11 +890,14 @@ class ADPElement implements Cloneable
timeMRP = (TimeMRP)this.timeMRPArr.get(timeEle);
//added by sabyasachi 29.03.2011
//timeMRP.setDemand(demand,saleOrder,lineNo);
System.out.println("before setDemand() [" + demand + "] supply [" + supply + "]" );
timeMRP.setDemand(demand);
System.out.println("before setDemand() [" + demand + "] supply [" + supply + "]timeMRP.getDemand()["+timeMRP.getDemand()+"]" );
if(! (demand > 0 && timeMRP.getDemand() > 0 ))
{
timeMRP.setDemand(demand);
}
//end added by sabyasachi 29.03.2011
timeMRP.setSupply(supply);
System.out.println("after setSupply()" );
System.out.println("after setSupply() timeMRP.getDemand()["+timeMRP.getDemand()+"]" );
// 12/04/10 manoharan MF90BHU001
timeMRP.setStockQty(stockQty);
timeMRP.setOthSupply(othSupply);
......@@ -903,7 +906,7 @@ class ADPElement implements Cloneable
//timeMRP.setLineNo(lineNo);
this.timeMRPArr.set(timeEle,timeMRP);
}
System.out.println("before updateRunningDemandSupply()" );
System.out.println("before updateRunningDemandSupply()...dueDate["+dueDate+"]" );
updateRunningDemandSupply(dueDate);
System.out.println("after updateRunningDemandSupply()" );
}
......@@ -1041,7 +1044,7 @@ class ADPElement implements Cloneable
runningPlanSupply = runningPlanSupply + timeMRP.getPlanSupply();
// end 10-04-2006 manoharan
}
System.out.println("@@@@@@@1044 index["+index+"]timeMRPArr.size()["+timeMRPArr.size()+"]");
for (int ctr = index; ctr < timeMRPArr.size(); ctr++)
{
timeMRP = (TimeMRP)timeMRPArr.get(ctr);
......@@ -1052,6 +1055,7 @@ class ADPElement implements Cloneable
timeMRP.setRunningSupply(runningSupply);
// 10-04-2006 manoharan
planSupply = timeMRP.getPlanSupply();
System.out.println("@@@@@@1055 planSupply["+planSupply+"]");
runningPlanSupply = runningPlanSupply + planSupply;
timeMRP.setRunningPlanSupply(runningPlanSupply);
// end 10-04-2006 manoharan
......
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