Commit 3b15dfb0 authored by agaikwad's avatar agaikwad

Request_id-D15GSUN005

In purchase order Amendment with indent no, system cross check entered rate with indent Purc_rate and max_rate.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98823 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e50e0d69
......@@ -107,6 +107,7 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,
String lineNoBrow = "", amdNoTemp = "", formNoTemp = "", lineNoTemp = "", quantitybrow = "", totalQuantity = "";
double totQty = 0, ct3Qty = 0, qtyUsed = 0;
double dis = 0;
double Disrate = 0;
String lnNo = "", lnNoStr = "";
int noOfParent = 0, ctr1 = 0;
int count11 = 0;
......@@ -1614,9 +1615,10 @@ public class POrderAmdIC extends ValidatorEJB implements POrderAmdICLocal,
if (indNo != null && indNo.length() > 0) {
System.out.println("Rate is" + rate);
if (dis > 0) {
rate = (rate * dis) / 100;
System.out
.println("Rate discount condition is"
Disrate = (rate * dis) / 100;
System.out.println("Discount Rate "+Disrate);
rate = rate - Disrate;
System.out.println("Rate discount condition is"
+ rate);
}
......
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