Commit 39185cf4 authored by dsawant's avatar dsawant

CHANGES CONE FOR ERROR CODE


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93159 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bc62606c
......@@ -169,8 +169,8 @@ public class SalesPersonBank extends ValidatorEJB implements SalesPersonBankLoca
break;
} else {
if (!editFlag.equals("E")) {
sql = "select count(1) from strg_cust_bank where "
+ " sc_code = ? and bank_code__ben= ? ";
sql = "select count(1) from sales_pers_bank where "
+ " sales_pers = ? and bank_code__ben= ? ";
pStmt = conn.prepareStatement(sql);
pStmt.setString(1, SalesPers);
pStmt.setString(2, bankCodeBen);
......@@ -185,8 +185,8 @@ public class SalesPersonBank extends ValidatorEJB implements SalesPersonBankLoca
pStmt = null;
if (cnt > 0) {
errCode = "VMCABCE";
errString = getErrorString("sc_code",
errCode = "VMCABCESE";
errString = getErrorString("sales_pers",
errCode, userId);
break;
}
......
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