Commit 66d00d89 authored by tmahadi's avatar tmahadi

removed trim while fetching cctr code


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104364 ce508802-f39f-4f6c-b175-0d175dae99d5
parent deccea4b
...@@ -327,10 +327,13 @@ public class MiscVoucherPostSave extends ValidatorEJB implements MiscVoucherPost ...@@ -327,10 +327,13 @@ public class MiscVoucherPostSave extends ValidatorEJB implements MiscVoucherPost
adjAmtPayAbs = Math.abs(rs.getDouble("adj_amt")); adjAmtPayAbs = Math.abs(rs.getDouble("adj_amt"));
currCodePay = checkNullAndTrim(rs.getString("curr_code")); currCodePay = checkNullAndTrim(rs.getString("curr_code"));
acctCode = checkNullAndTrim(rs.getString("acct_code")); acctCode = checkNullAndTrim(rs.getString("acct_code"));
cctrCode = checkNullAndTrim(rs.getString("cctr_code")); //cctrCode = checkNullAndTrim(rs.getString("cctr_code"));
cctrCode = rs.getString("cctr_code");
exchRate = checkNullAndTrim(rs.getString("exch_rate")); exchRate = checkNullAndTrim(rs.getString("exch_rate"));
System.out.println("tran id :: " + tranId + " tran ser::: " + refSer + "ref no::: " + refNo + " ::tot amt " + totAmtPayAbs + "::adj amt pay:: " + adjAmtPayAbs + ":::curr code::" + currCodePay + "::acct code::" + acctCode); System.out.println("tran id :: " + tranId + " tran ser::: " + refSer + "ref no::: " + refNo + " ::tot amt " + totAmtPayAbs +
"::adj amt pay:: " + adjAmtPayAbs + ":::curr code::" + currCodePay + "::acct code::" + acctCode + "cctr code::["+cctrCode+"]:: exch rate::["+exchRate+"]");
if (totAmtTemp > 0) { if (totAmtTemp > 0) {
adjAmt = totAmtPay - adjAmtPay - getUnconfirmedVouchValue(refNo, siteCode, sundryCode, sundryType, refSer, conn); adjAmt = totAmtPay - adjAmtPay - getUnconfirmedVouchValue(refNo, siteCode, sundryCode, sundryType, refSer, 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