Commit 62dbc4c2 authored by pdas's avatar pdas

changes in gltraceupdate


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97869 ce508802-f39f-4f6c-b175-0d175dae99d5
parent de96cacb
...@@ -8490,12 +8490,17 @@ public class FinCommon ...@@ -8490,12 +8490,17 @@ public class FinCommon
pstmt.close(); pstmt.close();
System.out.println("errString :::: "+errString); System.out.println("errString :::: "+errString);
if(errString == null || errString.trim().length() == 0 ){ if(errString == null || errString.trim().length() == 0 ){
if(conn !=null){ if(conn !=null && isPreview == true){
conn.commit(); conn.commit();
//conn.close(); //conn.close();
} }
System.out.println("connection close and commit"); System.out.println("connection close and commit");
} }
if(errString != null && errString.trim().length() == 0 && isPreview == false ){
System.out.println("Calling glTraceUpdatebudget....");
errString = glTraceUpdatebudget(tranId,refId,refSer,conn);
}
}catch(Exception e){ }catch(Exception e){
......
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