Commit ed4f2d0c authored by sgadve's avatar sgadve

Offer field validation for only Value Replacement not for the Quantity Replacement

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200153 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9f1bba3c
...@@ -1064,6 +1064,9 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C ...@@ -1064,6 +1064,9 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C
errFields.add(childNodeName.toLowerCase()); errFields.add(childNodeName.toLowerCase());
} }
else else
{
//Added by Saiprasad G. this validation for only Value Replacement not for the Quantity Replacement on [26-APR-19]START
if(settlemth.equalsIgnoreCase("V"))
{ {
String offerSql = "SELECT COUNT(1) FROM SCHEME_APPRV WHERE APRV_STATUS= ? and CUST_CODE__BILL = ? "; String offerSql = "SELECT COUNT(1) FROM SCHEME_APPRV WHERE APRV_STATUS= ? and CUST_CODE__BILL = ? ";
PreparedStatement pStmt1 = conn.prepareStatement(offerSql); PreparedStatement pStmt1 = conn.prepareStatement(offerSql);
...@@ -1081,6 +1084,7 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C ...@@ -1081,6 +1084,7 @@ public class ChargeBackLoc extends ValidatorEJB implements ChargeBackLocLocal, C
} }
} }
} }
}
}// End of for loop CASE3 }// End of for loop CASE3
......
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