Commit 8b513801 authored by agaikwad's avatar agaikwad

Changes in MiscVoucher IC(instructed by sir)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104789 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 5c1e7f31
......@@ -757,10 +757,12 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
{
errCode = finCommon.isCctrCode(acctCodeAp, cctrCodeAp, "", conn);
}
else if(cctrCodeAp == null || cctrCodeAp.trim().length() == 0 )
System.out.println("cctrCodeAp:"+cctrCodeAp);
/* else if(cctrCodeCf == null || cctrCodeCf.trim().length()
/* else if(cctrCodeAp == null || cctrCodeAp.trim().length() == 0 )--commented by Abhijit
{
errCode = "VMCCTRNULL";
}
}*/
if(errCode != null && (errCode.trim().length() > 0))
{
errList.add(errCode);
......@@ -807,10 +809,11 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
{
errCode = finCommon.isCctrCode(acctCodeCf, cctrCodeCf, "", conn);
}
else if(cctrCodeCf == null || cctrCodeCf.trim().length() == 0 )
System.out.println("cctrCodeCf:"+cctrCodeCf);
/* else if(cctrCodeCf == null || cctrCodeCf.trim().length() == 0 )
{
errCode = "VMCCTRNULL";
}
}*/
if(errCode != null && (errCode.trim().length() > 0))
{
errList.add(errCode);
......@@ -867,10 +870,11 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
{
errCode = finCommon.isCctrCode(acctCodeAdv, cctrCodeAdv, "", conn);
}
else if(cctrCodeAdv == null || cctrCodeAdv.trim().length() == 0 )
System.out.println("cctrCodeAdv:"+cctrCodeAdv);
/* else if(cctrCodeAdv == null || cctrCodeAdv.trim().length() == 0 )
{
errCode = "VMCCTRNULL";
}
}*/
if(errCode != null && (errCode.trim().length() > 0))
{
errList.add(errCode);
......@@ -1477,10 +1481,11 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
{
errCode = finCommon.isCctrCode(acctCode, cctrCode, "", conn);
}
else if(cctrCode == null || cctrCode.trim().length() == 0 )
System.out.println("cctrCode:"+cctrCode);
/* else if(cctrCode == null || cctrCode.trim().length() == 0 )
{
errCode = "VMCCTRNULL";
}
}*/
if(errCode != null && (errCode.trim().length() > 0))
{
errList.add(errCode);
......
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