Commit d391bced authored by kshinde's avatar kshinde

Added blank space while inserting cctr_Code if it is null.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104916 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 124e2d1f
...@@ -2161,7 +2161,7 @@ conn = getConnection(); ...@@ -2161,7 +2161,7 @@ conn = getConnection();
glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type") == null ? "":mischdrMap.get("sundry_type"))); glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type") == null ? "":mischdrMap.get("sundry_type")));
glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code") == null ? "":mischdrMap.get("sundry_code"))); glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code") == null ? "":mischdrMap.get("sundry_code")));
glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap"))); glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap")));
glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? "":mischdrMap.get("cctr_code__ap"))); glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? " ":mischdrMap.get("cctr_code__ap")));
glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code"))); glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code")));
glTraceMap.put("anal_code",(mischdrMap.get("anal_code") == null ? "":mischdrMap.get("anal_code"))); glTraceMap.put("anal_code",(mischdrMap.get("anal_code") == null ? "":mischdrMap.get("anal_code")));
glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code"))); glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code")));
...@@ -2272,7 +2272,7 @@ conn = getConnection(); ...@@ -2272,7 +2272,7 @@ conn = getConnection();
glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type") == null ? "":mischdrMap.get("sundry_type"))); glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type") == null ? "":mischdrMap.get("sundry_type")));
glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code") == null ? "":mischdrMap.get("sundry_code"))); glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code") == null ? "":mischdrMap.get("sundry_code")));
glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap"))); glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap")));
glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? "":mischdrMap.get("cctr_code__ap"))); glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? " ":mischdrMap.get("cctr_code__ap")));
glTraceMap.put("remarks",rem); glTraceMap.put("remarks",rem);
if(amtUpd > 0) if(amtUpd > 0)
...@@ -2309,7 +2309,7 @@ conn = getConnection(); ...@@ -2309,7 +2309,7 @@ conn = getConnection();
glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type__pay") == null ? "":mischdrMap.get("sundry_type__pay"))); glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type__pay") == null ? "":mischdrMap.get("sundry_type__pay")));
glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code__pay") == null ? "":mischdrMap.get("sundry_code__pay"))); glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code__pay") == null ? "":mischdrMap.get("sundry_code__pay")));
glTraceMap.put("acct_code",(mischdrMap.get("acct_code__pay") == null ? "":mischdrMap.get("acct_code__pay"))); glTraceMap.put("acct_code",(mischdrMap.get("acct_code__pay") == null ? "":mischdrMap.get("acct_code__pay")));
glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__pay") == null ? "":mischdrMap.get("cctr_code__pay"))); glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__pay") == null ? " ":mischdrMap.get("cctr_code__pay")));
glTraceMap.put("remarks",rem); glTraceMap.put("remarks",rem);
if(amtUpd > 0) if(amtUpd > 0)
...@@ -2424,7 +2424,7 @@ conn = getConnection(); ...@@ -2424,7 +2424,7 @@ conn = getConnection();
glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type__pay") == null ? "":mischdrMap.get("sundry_type__pay"))); glTraceMap.put("sundry_type",(mischdrMap.get("sundry_type__pay") == null ? "":mischdrMap.get("sundry_type__pay")));
glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code__pay") == null ? "":mischdrMap.get("sundry_code__pay"))); glTraceMap.put("sundry_code",(mischdrMap.get("sundry_code__pay") == null ? "":mischdrMap.get("sundry_code__pay")));
glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap"))); glTraceMap.put("acct_code",(mischdrMap.get("acct_code__ap") == null ? "":mischdrMap.get("acct_code__ap")));
glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? "":mischdrMap.get("cctr_code__ap"))); glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__ap") == null ? " ":mischdrMap.get("cctr_code__ap")));
glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code"))); glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code")));
glTraceMap.put("anal_code",(mischdrMap.get("anal_code") == null ? "":mischdrMap.get("anal_code"))); glTraceMap.put("anal_code",(mischdrMap.get("anal_code") == null ? "":mischdrMap.get("anal_code")));
glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code"))); glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code")));
...@@ -2664,7 +2664,7 @@ conn = getConnection(); ...@@ -2664,7 +2664,7 @@ conn = getConnection();
glTraceMap.put("sundry_type","O"); glTraceMap.put("sundry_type","O");
glTraceMap.put("sundry_code"," "); glTraceMap.put("sundry_code"," ");
glTraceMap.put("acct_code",(mischdrMap.get("acct_code__cf") == null ? "":mischdrMap.get("acct_code__cf"))); glTraceMap.put("acct_code",(mischdrMap.get("acct_code__cf") == null ? "":mischdrMap.get("acct_code__cf")));
glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__cf") == null ? "":mischdrMap.get("cctr_code__cf"))); glTraceMap.put("cctr_code",(mischdrMap.get("cctr_code__cf") == null ? " ":mischdrMap.get("cctr_code__cf")));
glTraceMap.put("emp_code",""); glTraceMap.put("emp_code","");
glTraceMap.put("anal_code",""); glTraceMap.put("anal_code","");
glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code"))); glTraceMap.put("curr_code",(mischdrMap.get("curr_code") == null ? "":mischdrMap.get("curr_code")));
...@@ -2983,7 +2983,7 @@ conn = getConnection(); ...@@ -2983,7 +2983,7 @@ conn = getConnection();
pstmt = null; pstmt = null;
glTraceMap.put("acct_code",acctCodePay); glTraceMap.put("acct_code",acctCodePay);
glTraceMap.put("cctr_code",cctrCodePay == null ? "":cctrCodePay); glTraceMap.put("cctr_code",cctrCodePay == null ? " ":cctrCodePay);
} }
else else
...@@ -3032,7 +3032,7 @@ conn = getConnection(); ...@@ -3032,7 +3032,7 @@ conn = getConnection();
} }
glTraceMap.put("acct_code",acctCode); glTraceMap.put("acct_code",acctCode);
} }
glTraceMap.put("cctr_code",cctrCode == null ? "":cctrCode); glTraceMap.put("cctr_code",cctrCode == null ? " ":cctrCode);
glTraceMap.put("anal_code",analCode == null ?"": analCode); glTraceMap.put("anal_code",analCode == null ?"": analCode);
} }
...@@ -3126,7 +3126,7 @@ conn = getConnection(); ...@@ -3126,7 +3126,7 @@ conn = getConnection();
} }
glTraceMap.put("acct_code",taxAcctCode); glTraceMap.put("acct_code",taxAcctCode);
glTraceMap.put("cctr_code",taxCctrCode == null ? "" : taxCctrCode); glTraceMap.put("cctr_code",taxCctrCode == null ? " " : taxCctrCode);
glTraceMap.put("dept_code",deptCode); glTraceMap.put("dept_code",deptCode);
glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code"))); glTraceMap.put("emp_code",(mischdrMap.get("emp_code") == null ? "":mischdrMap.get("emp_code")));
glTraceMap.put("anal_code",""); glTraceMap.put("anal_code","");
......
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