Commit e6c9f7f8 authored by prane's avatar prane

Some minor changes and bug fix like rs replaced with rs1

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@196709 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 29983974
...@@ -15356,7 +15356,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -15356,7 +15356,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
sql = "select (case when apply_cust_list is null then ' ' else apply_cust_list end) as apply_cust_list, (case when noapply_cust_list is null then ' ' else noapply_cust_list end)as noapply_cust_list,order_type from scheme_applicability where scheme_code = ?"; sql = "select (case when apply_cust_list is null then ' ' else apply_cust_list end) as apply_cust_list, (case when noapply_cust_list is null then ' ' else noapply_cust_list end)as noapply_cust_list,order_type from scheme_applicability where scheme_code = ?";
pstmt1 = conn.prepareStatement(sql); pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, schemeCode); pstmt1.setString(1, schemeCode);
rs = pstmt1.executeQuery(); rs1 = pstmt1.executeQuery();
if (rs1.next()) { if (rs1.next()) {
applyCustList = rs1.getString("apply_cust_list"); applyCustList = rs1.getString("apply_cust_list");
noApplyCustList = rs1.getString("noapply_cust_list"); noApplyCustList = rs1.getString("noapply_cust_list");
...@@ -16990,7 +16990,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -16990,7 +16990,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// items is not eligible for the free // items is not eligible for the free
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Chargeable quantity of group of items is not eligible for the free quantity"); "Chargeable quantity of group of items is not eligible for the free quantity");
} }
...@@ -17039,7 +17039,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17039,7 +17039,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// items is not eligible for the free // items is not eligible for the free
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"@@@@@@@@@@@@Chargeable quantity of group of items is not eligible for the free quantity"); "@@@@@@@@@@@@Chargeable quantity of group of items is not eligible for the free quantity");
} }
...@@ -17108,7 +17108,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17108,7 +17108,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// greater than scheme's Sample // greater than scheme's Sample
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Entered Sample quantity is greater than scheme's Sample quantity"); "Entered Sample quantity is greater than scheme's Sample quantity");
} }
...@@ -17157,7 +17157,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17157,7 +17157,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// items is not eligible for the free // items is not eligible for the free
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Chargeable quantity of group of items is not eligible for the free quantity"); "Chargeable quantity of group of items is not eligible for the free quantity");
} }
...@@ -17230,7 +17230,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17230,7 +17230,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// greater than scheme's Sample // greater than scheme's Sample
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Entered Sample quantity is greater than scheme's Sample quantity"); "Entered Sample quantity is greater than scheme's Sample quantity");
} }
...@@ -17275,7 +17275,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17275,7 +17275,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// items is not eligible for the free // items is not eligible for the free
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Chargeable quantity of group of items is not eligible for the free quantity"); "Chargeable quantity of group of items is not eligible for the free quantity");
} }
...@@ -17338,7 +17338,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -17338,7 +17338,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
// greater than scheme's Sample // greater than scheme's Sample
// quantity // quantity
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //errFields.add(childNodeName.toLowerCase());
System.out.println( System.out.println(
"Entered Sample quantity is greater than scheme's Sample quantity"); "Entered Sample quantity is greater than scheme's Sample quantity");
} }
......
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