Commit 7f072c6f authored by caluka's avatar caluka

batchQty!=0 condition added for run mrp


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98029 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 16fcc768
......@@ -7429,7 +7429,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
// independent demand to be created
if (orderOpt.equals("B"))
{
if (independentDemand > batchQty)
if (independentDemand > batchQty && batchQty !=0 )//Added by chandrashekar on 27-05-2015
{
if (independentDemand % batchQty > 0)
{
......@@ -7531,7 +7531,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
// independent demand to be created
if (orderOpt.equals("B"))
{
if (reqQty > batchQty)
if (reqQty > batchQty && batchQty !=0)//Added by chandrashekar on 27-05-2015
{
if (reqQty % batchQty > 0)
{
......@@ -7668,7 +7668,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
if (orderOpt.equals("B") && !(batchQtyType.equalsIgnoreCase("V")))
{
System.out.println("11012008 Req Qty : " + reqQty + " batch Qty :" + batchQty + " Min Plan :" + minPlanPerc);
if (reqQty > batchQty)
if (reqQty > batchQty && batchQty !=0)//Added by chandrashekar on 27-05-2015
{
if (reqQty % batchQty > 0)
{
......@@ -7850,7 +7850,7 @@ public class RunMRPPrc extends ProcessEJB implements RunMRPPrcLocal, RunMRPPrcRe
else if (orderOpt.equals("B") && batchQtyType.equalsIgnoreCase("V"))
{
System.out.println("reqQty["+reqQty+"]batchQty["+batchQty+"]");
if (reqQty >= batchQty)
if (reqQty >= batchQty && batchQty !=0)//Start Added by chandrashekar 0n 27-05-2015
{
System.out.println("2");
// Below block is commented as per Manoharan Sir
......
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