Commit 8cf06b2e authored by kshinde's avatar kshinde

In Anal code validation check if error code returned is null.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@180518 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 51d57c0c
...@@ -3668,8 +3668,13 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec ...@@ -3668,8 +3668,13 @@ public class PoReceiptIc extends ValidatorEJB implements PoReceiptIcLocal,PoRec
{ {
acctcodedr=checkNull(genericUtility.getColumnValue("acct_code__dr", dom)); acctcodedr=checkNull(genericUtility.getColumnValue("acct_code__dr", dom));
errCode=fincommon.isAnalysis(acctcodedr, analcode, "", conn); errCode=fincommon.isAnalysis(acctcodedr, analcode, "", conn);
errList.add(errCode);
errFields.add(childNodeName.toLowerCase()); //changed by kunal on 16/2/18 to check if errorCode is null
if(errCode!=null && errCode.trim().length()>0)
{
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
} }
} }
......
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