Commit 2a997936 authored by manohar's avatar manohar

During checking of debit and credit mismatch adjustment entry for rounding...

During checking of debit and credit mismatch adjustment entry for rounding entry trim() removed from chg_user and chg_term as the values are not passed and exception was coming


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104921 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d391bced
......@@ -9169,8 +9169,8 @@ public class FinCommon
//Date should be in applDate Format
tranDate = (Timestamp)glTran.get("tran_date");
effDate = (Timestamp)glTran.get("eff_date");
chgUser = glTran.get("chg_user");
chgTerm = glTran.get("chg_term");
chgUser = (String) glTran.get("chg_user");
chgTerm = (String) glTran.get("chg_term");
if(chgTerm == null || chgTerm.trim().length() == 0)
{
......@@ -10418,6 +10418,9 @@ public class FinCommon
glTran.put("dr_amt_base",Double.toString(exch * Double.parseDouble(glTran.get("dr_amt").toString())));
glTran.put("cr_amt_base",Double.toString(exch * Double.parseDouble(glTran.get("cr_amt").toString())));
glTran.put("chg_user","BASE");
glTran.put("chg_term","SYSTEM");
errString = glTranUpdate(glTran,conn);
}
......
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