Commit eb5afd38 authored by sakhtar's avatar sakhtar

changes cctr code to allow spaces


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91770 ce508802-f39f-4f6c-b175-0d175dae99d5
parent aff7812f
...@@ -8150,10 +8150,16 @@ public class FinCommon ...@@ -8150,10 +8150,16 @@ public class FinCommon
}else{ }else{
pstmt.setString(11,acctCode); pstmt.setString(11,acctCode);
} }
if(cctrCode == null || cctrCode.trim().length() == 0){ // if(cctrCode == null || cctrCode.trim().length() == 0){
//pstmt.setNull(12,Types.VARCHAR); // //pstmt.setNull(12,Types.VARCHAR);
cctrCode = ""; // cctrCode = "";
// }
//changed by shamim on 24-07-12
if(cctrCode == null){
cctrCode = " ";
} }
pstmt.setString(12,cctrCode); pstmt.setString(12,cctrCode);
if(currCode == null || currCode.trim().length() == 0){ if(currCode == null || currCode.trim().length() == 0){
pstmt.setNull(13,Types.VARCHAR); pstmt.setNull(13,Types.VARCHAR);
......
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