Commit f856c582 authored by msalla's avatar msalla

Bank Receipt Issue - Single payment received against multiple code

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203839 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6ecc89d5
...@@ -696,7 +696,11 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo ...@@ -696,7 +696,11 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
pstmt = null; pstmt = null;
detListSize = DetList.size(); detListSize = DetList.size();
// } // }
sql = "select ref_ser, ref_no,adj_amt,acct_code,cctr_code,exch_rate__vouch from rcpadv where tran_id = ?"; //changes made by monika-22-july-2019
// sql = "select ref_ser, ref_no,adj_amt,acct_code,cctr_code,exch_rate__vouch from rcpadv where tran_id = ?";
//added by -monika-22-july-2019
sql = "select ref_no,adj_amt,acct_code,cctr_code from receivables where tran_id = ?";
//end
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1,tranId); pstmt.setString(1,tranId);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
...@@ -707,7 +711,10 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo ...@@ -707,7 +711,10 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
ADetMap.put("ref_no", rs.getString("ref_no")); ADetMap.put("ref_no", rs.getString("ref_no"));
ADetMap.put("adj_amt", rs.getDouble("adj_amt")); ADetMap.put("adj_amt", rs.getDouble("adj_amt"));
ADetMap.put("sundry_type", "C"); ADetMap.put("sundry_type", "C");
ADetMap.put("sundry_code", (String) RcpHdrMap.get("sundry_code")); //commented by monika-22-july-2019
//ADetMap.put("sundry_code", (String) RcpHdrMap.get("sundry_code"));
//changes made by monika-22-july-2019
ADetMap.put("sundry_code",rs.getString("cust_code"));//end
ADetMap.put("acct_code", rs.getString("acct_code")); ADetMap.put("acct_code", rs.getString("acct_code"));
ADetMap.put("cctr_code", rs.getString("cctr_code")); ADetMap.put("cctr_code", rs.getString("cctr_code"));
ADetMap.put("exch_rate__vouch", rs.getDouble("exch_rate__vouch")); ADetMap.put("exch_rate__vouch", rs.getDouble("exch_rate__vouch"));
......
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