Commit 608b6648 authored by kshinde's avatar kshinde

scheme code set null when cust code not in scheme applicability.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@106462 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 22119679
...@@ -8355,6 +8355,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -8355,6 +8355,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
if (lsApplyCustList.trim().length() > 0) if (lsApplyCustList.trim().length() > 0)
{ {
lsSchemeCode=null;
lsCustCode = checkNull(genericUtility.getColumnValue("cust_code", dom1)); lsCustCode = checkNull(genericUtility.getColumnValue("cust_code", dom1));
String lsApplyCustListArr[] = lsApplyCustList.split(","); String lsApplyCustListArr[] = lsApplyCustList.split(",");
ArrayList<String> applyCustList=new ArrayList<String>(Arrays.asList(lsApplyCustListArr)); ArrayList<String> applyCustList=new ArrayList<String>(Arrays.asList(lsApplyCustListArr));
...@@ -12774,7 +12775,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -12774,7 +12775,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
if (lsApplyCustList.trim().length() > 0) if (lsApplyCustList.trim().length() > 0)
{ {
lsCustCode = checkNull(genericUtility.getColumnValue("cust_code", dom)); lsSchemeCode=null;
lsCustCode = checkNull(genericUtility.getColumnValue("cust_code", dom1));
String lsApplyCustListArr[] = lsApplyCustList.split(","); String lsApplyCustListArr[] = lsApplyCustList.split(",");
ArrayList<String> applyCustList= new ArrayList<String>(Arrays.asList(lsApplyCustListArr)); ArrayList<String> applyCustList= new ArrayList<String>(Arrays.asList(lsApplyCustListArr));
if(applyCustList.contains(lsCustCode)) if(applyCustList.contains(lsCustCode))
......
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