Commit a8865311 authored by manohar's avatar manohar

empty cctr_code__adv allowed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98569 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4bf76fc6
......@@ -346,6 +346,8 @@ implements CustomerLocal, CustomerRemote
{
cctrCodeAdv = this.genericUtility.getColumnValue("cctr_code__adv", dom);
cnt = 0;
if (cctrCodeAdv != null && cctrCodeAdv.trim().length() > 0)
{
sql = "select count(*) as cnt from costctr where cctr_code =?";
pstmt = conn.prepareStatement(sql);
......@@ -366,6 +368,7 @@ implements CustomerLocal, CustomerRemote
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}
} else if (childNodeName.equalsIgnoreCase("group_code"))
{
groupCode = this.genericUtility.getColumnValue("group_code", dom);
......
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