Commit 2944d8ea authored by prane's avatar prane

commented quantity == 0 condition in rate itemchnaged for min_rate and max_rate validation

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203126 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ad0b7c73
...@@ -3476,7 +3476,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -3476,7 +3476,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
ldtDate = orderDate; ldtDate = orderDate;
} }
if (quantity == 0) { //if (quantity == 0) {
if ("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature) if ("F".equalsIgnoreCase(nature) || "B".equalsIgnoreCase(nature)
|| "S".equalsIgnoreCase(nature)) { || "S".equalsIgnoreCase(nature)) {
if (rate > 0) { if (rate > 0) {
...@@ -3579,7 +3579,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -3579,7 +3579,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
} }
} }
} }
} //}
} }
// tax_class // tax_class
......
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