Commit 3fe2613d authored by manohar's avatar manohar

unnecessary error message call (VTIBCA5) commented


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94023 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6f3af6fd
...@@ -2224,12 +2224,12 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo ...@@ -2224,12 +2224,12 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
rs = null; rs = null;
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
// 20/12/13 manoharan wrong validation commented
if(cnt1 == 0) //if(cnt1 == 0)
{ //{
errString = itmDBAccessEJB.getErrorString("","VTIBCA5","","",conn); // errString = itmDBAccessEJB.getErrorString("","VTIBCA5","","",conn);
//return errString; // //return errString;
} //}
sql =" SELECT count(*) FROM rcpacct,receipt WHERE ( rcpacct.tran_id = receipt.tran_id ) and ( rcpacct.curr_code <> receipt.curr_code ) and ( ( receipt.tran_id = ? ) )"; sql =" SELECT count(*) FROM rcpacct,receipt WHERE ( rcpacct.tran_id = receipt.tran_id ) and ( rcpacct.curr_code <> receipt.curr_code ) and ( ( receipt.tran_id = ? ) )";
...@@ -2245,11 +2245,12 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo ...@@ -2245,11 +2245,12 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
if(cnt1 == 0) // 20/12/13 manoharan wrong validation commented
{ //if(cnt1 == 0)
errString = itmDBAccessEJB.getErrorString("","VTIBCA5","","",conn); //{
//return errString; // errString = itmDBAccessEJB.getErrorString("","VTIBCA5","","",conn);
} // //return errString;
//}
/// if EPC in diff currency. /// if EPC in diff currency.
......
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