Commit 70e570a6 authored by prane's avatar prane

added ty catch block in gbfPostInvoice() method

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@179146 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 7a29f3fe
......@@ -1626,6 +1626,8 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
/**
* Posting Invoice header
* */
try
{
retString=gbfPostInvoiceHdr(InvoiceHrdMap,conn);
//System.out.println("@@@@@@@@997 retString gbfPostInvoiceHdr["+retString+"]");
if( retString == null || retString.trim().length() == 0)
......@@ -1686,6 +1688,31 @@ public class PostOrdInvoicePost extends ActionHandlerEJB implements PostOrdInvoi
retString = createRIBCA( InvoiceHrdMap, invoiceAcctList, conn);
System.out.println("After createRIBCA retString ["+retString+"]");
//Changed by wasim on 07-JUN-2017 for creating IBCA tranaction (Migration) [END]
}
catch(Exception e)
{
System.out.println("Expcetion inside gbfPostInoice ==>"+e.getMessage());
e.printStackTrace();
throw new ITMException(e);
}
finally
{
try
{
if(rs!=null)
{
rs.close();rs= null;
}
if(pstmt!=null)
{
pstmt.close();pstmt= null;
}
}
catch(Exception ex)
{
ex.printStackTrace();
}
}
return retString;
}
......
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