Commit 40c3e8ac authored by vdhoble's avatar vdhoble

added changes for remarks


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98011 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a1f1cb9a
......@@ -78,7 +78,7 @@ public class MiscPayGltracePreview extends ActionHandlerEJB implements MiscPayGl
loginEmpCode = validatorEJB.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
System.out.println("Printing loginEmpCode---1-----"+loginEmpCode+"--");
sql = "select tran_id,tran_Date,ref_date,tran_type,fin_entity,site_code,bank_code,acct_code__bal,cctr_code__bal,curr_code__bc,curr_code,exch_rate,bank_charges,discount_amt,acct_code__bc,cctr_code__bc,curr_code__bc,exch_rate__bc,diff_amt__exch,acct_code__cf,cctr_code__cf from misc_payment where tran_id = ?";
sql = "select tran_id,remarks,tran_Date,ref_date,tran_type,fin_entity,site_code,bank_code,acct_code__bal,cctr_code__bal,curr_code__bc,curr_code,exch_rate,bank_charges,discount_amt,acct_code__bc,cctr_code__bc,curr_code__bc,exch_rate__bc,diff_amt__exch,acct_code__cf,cctr_code__cf from misc_payment where tran_id = ?";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranID);
......@@ -108,6 +108,8 @@ public class MiscPayGltracePreview extends ActionHandlerEJB implements MiscPayGl
diffAmtExch = rs.getDouble("diff_amt__exch");
acctCodeCf = rs.getString("acct_code__cf");
cctrCodeCf = rs.getString("cctr_code__cf");
remarks = rs.getString("remarks");
}
rs.close();
rs=null;
......@@ -115,7 +117,7 @@ public class MiscPayGltracePreview extends ActionHandlerEJB implements MiscPayGl
pstmt=null;
System.out.println("120****remarks"+remarks);
//************fetching records from detail for calculation
sql1 = "select line_no from misc_paydet where tran_id = ?";
......
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