Commit 4dbfeff6 authored by cpatil's avatar cpatil

added condition for duplicate bill chk


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101105 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ea5deb7d
......@@ -347,6 +347,8 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
}
System.out.println("@@@@@ sundryType["+sundryType+"]syndryTable["+syndryTable+"]tranIdColmn["+tranIdColmn+"]bankTable["+bankTable+"]");
if(!"E".equalsIgnoreCase(sundryType)) //added by cpatil to not validate at a time of E 05/04/16
{
sql=" select count(1) from "+bankTable+" " +
" where "+tranIdColmn+" = ? " +
// " and BANK_CODE__BEN = ? " +
......@@ -396,7 +398,7 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
retString = itmDBAccessLocal.getErrorString("","VMSBDMLDEF","");
return retString;
}
}
}
// end by cpatil
......@@ -667,8 +669,9 @@ public class MiscPaySubAct extends ActionHandlerEJB implements MiscPaySubActLoca
}*/
//Start added by chandrashekar on 29-dec-2015
System.out.println("finparPayModeArrList>>>"+finparPayModeArrList);
if(!finparPayModeArrList.contains(payMode.trim()))
System.out.println("payMode>>>"+payMode);
//if(!finparPayModeArrList.contains(payMode.trim()))
if( "Q".equalsIgnoreCase(payMode.trim()))
{
System.out.println("list not match with paymode");
sql = " select count(*) as cnt from misc_payment mispay " +
......
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