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
...@@ -1252,6 +1252,13 @@ conn = getConnection(); ...@@ -1252,6 +1252,13 @@ conn = getConnection();
System.out.println("@@@@ The size of receiptList is @@@@ "+receiptList.size()); System.out.println("@@@@ The size of receiptList is @@@@ "+receiptList.size());
//Commented by Manoj dtd 03/05/2014writeLog(filePtr,"@@@@ The ReceiptGenerated is @@@@ "+receiptList.size(),true); //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 // *****************************added on 25102006
for (int Ctr = 0; Ctr < receiptList.size() ; Ctr++) for (int Ctr = 0; Ctr < receiptList.size() ; Ctr++)
{ {
...@@ -1298,13 +1305,6 @@ conn = getConnection(); ...@@ -1298,13 +1305,6 @@ conn = getConnection();
//****************************** //******************************
//Commented by Manoj dtd 03/05/2014writeLog(filePtr,"amtFlag:::-["+amtFlag+"]",true); //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) 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); //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);
......
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