Commit f544c0c0 authored by steurwadkar's avatar steurwadkar

unit trim issue changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@105138 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 62bcc400
...@@ -2857,7 +2857,9 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -2857,7 +2857,9 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
else if(!unitRate.equalsIgnoreCase(unitStd)) //Changed by Santosh on 24/03/2017
//else if(!unitRate.equalsIgnoreCase(unitStd))
else if(!(unitRate.trim()).equalsIgnoreCase(unitStd.trim()))
{ {
sql = "select count(*) as cnt from uomconv where (item_code = ? or item_code = 'X') and ((unit__fr = ? and unit__to = ?)" sql = "select count(*) as cnt from uomconv where (item_code = ? or item_code = 'X') and ((unit__fr = ? and unit__to = ?)"
+ " or (unit__to = ? and unit__fr = ?)) "; + " or (unit__to = ? and unit__fr = ?)) ";
......
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