Commit 6a51414b authored by mnair's avatar mnair

Removed the checknull method inside the validation for line_no__contr

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@185044 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a7645b97
...@@ -1639,8 +1639,12 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -1639,8 +1639,12 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
} }
// line_no__contr // line_no__contr
else if (childNodeName.equalsIgnoreCase("line_no__contr")) { else if (childNodeName.equalsIgnoreCase("line_no__contr")) {
lineNoContr = checkNull(genericUtility.getColumnValue("line_no__contr", dom)); //Changes by mayur on 17-May-2018--[start]
contractNo = checkNull(genericUtility.getColumnValue("contract_no", dom)); //lineNoContr = checkNull(genericUtility.getColumnValue("line_no__contr", dom));
//contractNo = checkNull(genericUtility.getColumnValue("contract_no", dom));
lineNoContr = genericUtility.getColumnValue("line_no__contr", dom);
contractNo = genericUtility.getColumnValue("contract_no", dom);
//Changes by mayur on 17-May-2018--[end]
if (contractNo != null && contractNo.trim().length() > 0) { if (contractNo != null && contractNo.trim().length() > 0) {
sql = "select count(*) as cnt from scontractdet where contract_no =? and line_no =?"; sql = "select count(*) as cnt from scontractdet where contract_no =? and line_no =?";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
......
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