Commit 1324fba7 authored by cpatil's avatar cpatil

modify for issue of negative gross weight


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97919 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3e4365d9
......@@ -3673,7 +3673,15 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
{
planSupply=planSupply-netReqd;
}
else // added for wrong mps quantity changes
{
planSupply=reorderLevel+netReqd;
}
System.out.println("after deduction planSupply["+planSupply+"]");
if( planSupply > 0 ) // added for removing negetive gross wt
{
boolean mrpFlag = false;
ArrayList <TimeMRP>timemrpList=adpElement.getTimeMrpList();
ArrayList <TimeMRP>timemrpListN=new ArrayList<TimeMRP>();
......@@ -3704,6 +3712,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
}
//adpElement.setDemand(dueDate,planSupply, adpElement.getSaleOrder(),adpElement.getLineNo());
adpElement.setReordPlanQty(planSupply);
} // end if for gross weight negeative
}
}
......
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