Commit 8ad7a5e2 authored by pchavan's avatar pchavan

Remove the validation for invoice_id and line_no field.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@208808 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 14c927cd
...@@ -209,7 +209,7 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo ...@@ -209,7 +209,7 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo
} }
} }
} }
else if (childNodeName.equalsIgnoreCase("invoice_Id")) /*else if (childNodeName.equalsIgnoreCase("invoice_id"))
{ {
invoiceId = checkNull(genericUtility.getColumnValue("invoice_id", dom)); invoiceId = checkNull(genericUtility.getColumnValue("invoice_id", dom));
System.out.println("INSIDE INVOICE ID[" + invoiceId + "]"); System.out.println("INSIDE INVOICE ID[" + invoiceId + "]");
...@@ -234,7 +234,9 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo ...@@ -234,7 +234,9 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
} }
} else if (childNodeName.equalsIgnoreCase("line_no")) }*/
/* else if (childNodeName.equalsIgnoreCase("line_no"))
{ {
invoiceId = checkNull(genericUtility.getColumnValue("invoice_id", dom)); invoiceId = checkNull(genericUtility.getColumnValue("invoice_id", dom));
lineNo = checkNull(genericUtility.getColumnValue("line_no", dom)); lineNo = checkNull(genericUtility.getColumnValue("line_no", dom));
...@@ -254,15 +256,15 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo ...@@ -254,15 +256,15 @@ public class MinRateHistoryIC extends ValidatorEJB implements MinRateHistoryICLo
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
/*if (cnt == 0) if (cnt == 0)
{ {
errCode = "VTEMTLINO"; errCode = "VTEMTLINO";
errList.add(errCode); errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
}*/ }
} }
System.out.println("Testing done"); System.out.println("Testing done");
} }*/
else if (childNodeName.equalsIgnoreCase("cust_code")) else if (childNodeName.equalsIgnoreCase("cust_code"))
{ {
......
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