Commit a5054f6d authored by Ajit Deshmukh's avatar Ajit Deshmukh

Corrected the sales_pers table name in wfValData method

parent 772f3c5a
...@@ -242,7 +242,7 @@ public class ReqForQuotationWiz extends ValidatorEJB{ ...@@ -242,7 +242,7 @@ public class ReqForQuotationWiz extends ValidatorEJB{
{ {
String salesPerson = checkNull(genericUtility.getColumnValue("sales_pers", dom)); String salesPerson = checkNull(genericUtility.getColumnValue("sales_pers", dom));
BaseLogger.log("3", null, null, "ReqForQuotationIC salesPerson wfValData case 1 [" + salesPerson + "]"); BaseLogger.log("3", null, null, "ReqForQuotationIC salesPerson wfValData case 1 [" + salesPerson + "]");
String salesPersonSql = "select count(SALES_PERS) as salesPersonCount from SALESPERSON where SALES_PERS = ?"; String salesPersonSql = "select count(SALES_PERS) as salesPersonCount from SALES_PERS where SALES_PERS = ?";
PreparedStatement salesPersonPs = connectionObject.prepareStatement(salesPersonSql); PreparedStatement salesPersonPs = connectionObject.prepareStatement(salesPersonSql);
salesPersonPs.setString(1, salesPerson); salesPersonPs.setString(1, salesPerson);
ResultSet salesPersonRs = salesPersonPs.executeQuery(); ResultSet salesPersonRs = salesPersonPs.executeQuery();
......
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