Commit 36960933 authored by agaikwad's avatar agaikwad

change condition flag=false for Type allow purchase rate.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101180 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 59991e76
...@@ -1854,18 +1854,21 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder ...@@ -1854,18 +1854,21 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,POrder
ArrayList typeallowporate = new ArrayList<String>(Arrays.asList(typeallowporatelistArr)); ArrayList typeallowporate = new ArrayList<String>(Arrays.asList(typeallowporatelistArr));
if(typeallowporate.contains(pordTyperate)) if(typeallowporate.contains(pordTyperate))
{ {
falgporate = true; falgporate = false;
System.out.println("In Flag False "+ falgporate);
} }
else else
{ {
falgporate = false; falgporate = true;
System.out.println("In Flag False "+ true);
} }
} }
System.out.println("Rate is" + rate); System.out.println("Rate is" + rate);
//if(falgporate = true) System.out.println("falgporate" + falgporate);
if(falgporate = false) if(falgporate)
{ {
System.out.println("Enter If COndition");
if (dis > 0) if (dis > 0)
{ {
Disrate = (rate * dis) / 100; Disrate = (rate * dis) / 100;
......
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