Commit 06c724b7 authored by ngadkari's avatar ngadkari

validation added in generate receipt process component

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@183123 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a096055c
......@@ -183,9 +183,9 @@ Put a validation chq amount in filter and total of details matches in case heade
if(conn==null)
{
ConnDriver connDriver = new ConnDriver();
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END
}
sdf=new SimpleDateFormat(genericUtility.getApplDateFormat());
......@@ -811,9 +811,9 @@ conn = getConnection();
{
if(conn==null)
{
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
conn = getConnection();
//Changes and Commented By Bhushan on 06-06-2016 :END
conn.setAutoCommit(false);
}
......@@ -1251,6 +1251,13 @@ conn = getConnection();
System.out.println("@@@@ The size of receiptList is @@@@ "+receiptList.size());
//Commented by Manoj dtd 03/05/2014writeLog(filePtr,"@@@@ The ReceiptGenerated is @@@@ "+receiptList.size(),true);
// If Condittion ADDED BY NANDKUMAR GADKARI on 03/04/18
if (totalAdjAmt !=0)
{
returnString= itmDBAccessEJB.getErrorString("","VTRECO6","","",conn);
return returnString;
}
// *****************************added on 25102006
for (int Ctr = 0; Ctr < receiptList.size() ; Ctr++)
......@@ -1297,14 +1304,7 @@ conn = getConnection();
}
//******************************
//Commented by Manoj dtd 03/05/2014writeLog(filePtr,"amtFlag:::-["+amtFlag+"]",true);
// If Condittion ADDED BY NANDKUMAR GADKARI on 03/04/18
if (totalAdjAmt > 0)
{
amtFlag = false;
}
if(amtFlag)
{
//Commented by Manoj dtd 03/05/2014writeLog(filePtr,"[===>R E C E I P T G E N E R A T I N G I N P R O G R E S S<=== ]",true);
......@@ -2547,9 +2547,9 @@ conn = getConnection();
String newKeystring = "";
try
{
// //Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();//commented by Nandkumar gadkari on 29/03/18
// //Changes and Commented By Bhushan on 06-06-2016 :START
//conn = connDriver.getConnectDB("DriverITM");
//conn = getConnection();//commented by Nandkumar gadkari on 29/03/18
//Changes and Commented By Bhushan on 06-06-2016 :END // commented by cpatil 14/11/13
sql = "SELECT KEY_STRING, TRAN_ID_COL, REF_SER FROM TRANSETUP WHERE TRAN_WINDOW = '"+windowName+"'";
stmt = conn.createStatement();
......
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