Commit f8396154 authored by dsawant's avatar dsawant

NULL VALIDATION FOR ANAL_CODE IS ADDED


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93114 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fa866ef7
package ibase.webitm.ejb.fin;
package ibase.webitm.ejb.fin.budget;
import ibase.system.config.ConnDriver;
import ibase.webitm.ejb.ValidatorEJB;
......@@ -249,11 +249,18 @@ public class BudgetGroup extends ValidatorEJB implements BudgetGroupLocal,Budget
}
if (childNodeName.equalsIgnoreCase("anal_code"))
{
{
anal_code = genericUtility.getColumnValue("anal_code",dom);
acct_code = genericUtility.getColumnValue("acct_code",dom);
if (anal_code != null && anal_code.trim().length() > 0 )
if (anal_code == null || anal_code.trim().length() == 0 )
{
errCode = "VMACIE";
errString = getErrorString("anal_code",errCode,userId);
break;
}
//if (anal_code != null && anal_code.trim().length() > 0 )
else
{
sql = "select count(1) from analysis where anal_code = ? ";
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