Commit bffda6f6 authored by smanohar's avatar smanohar

Dishonour posting Coin difference error as in receipt net_amt__bc posted with...

Dishonour posting Coin difference error as in receipt net_amt__bc posted with exchange rate as 1 where as in dishonour net_amt is posted with exchange rate 1

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@213192 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 543eca7e
...@@ -1979,16 +1979,19 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis ...@@ -1979,16 +1979,19 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis
if(postExchRate!=1) //Added by Jasmina 07/06/10-FI90ALL013, bank control always hit in base currency if(postExchRate!=1) //Added by Jasmina 07/06/10-FI90ALL013, bank control always hit in base currency
{ {
netAmt =(Double) hdrMap.get("net_amt");//10000
netAmt =(Double) hdrMap.get("net_amt");//10000
gltraceUpd.put("cr_amt", netAmt); // 06-dec-2019 manoharan taken from below
exchRate = (Double) hdrMap.get("exch_rate"); exchRate = (Double) hdrMap.get("exch_rate");
gltraceUpd.put("curr_code", hdrMap.get("curr_code")) ;//added by jasmina 08/06/10-FI90ALL013 gltraceUpd.put("curr_code", hdrMap.get("curr_code")) ;//added by jasmina 08/06/10-FI90ALL013
//System.out.println("curr_code---"+ hdrMap.get("curr_code")); //System.out.println("curr_code---"+ hdrMap.get("curr_code"));
} }
else else
{ {
//netAmt = postAmt; //netAmt = postAmt;
netAmt =(Double) hdrMap.get("net_amt"); netAmt =(Double) hdrMap.get("net_amt");
gltraceUpd.put("cr_amt", postAmt); // 06-dec-19 manoharan the same amount as receipt to be reverted
exchRate = 1; exchRate = 1;
gltraceUpd.put("curr_code", currCodeBc) ;//added by jasmina 08/06/10-FI90ALL013 gltraceUpd.put("curr_code", currCodeBc) ;//added by jasmina 08/06/10-FI90ALL013
//System.out.println("curr_code bs---"+ currCodeBc); //System.out.println("curr_code bs---"+ currCodeBc);
...@@ -2004,7 +2007,7 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis ...@@ -2004,7 +2007,7 @@ public class ReceiptDishonourConf extends ActionHandlerEJB implements ReceiptDis
gltraceUpd.put("anal_code", " "); //SetNull added by Amit for DB2 gltraceUpd.put("anal_code", " "); //SetNull added by Amit for DB2
//lstr_gltrace.curr_code = lds_hdr.getitemstring(1, "curr_code") //Commented n Shifted above,by jasmina 08/06/10-FI90ALL013 //lstr_gltrace.curr_code = lds_hdr.getitemstring(1, "curr_code") //Commented n Shifted above,by jasmina 08/06/10-FI90ALL013
gltraceUpd.put("exch_rate", exchRate); gltraceUpd.put("exch_rate", exchRate);
gltraceUpd.put("cr_amt", netAmt); //gltraceUpd.put("cr_amt", netAmt);
gltraceUpd.put("dr_amt", 0); gltraceUpd.put("dr_amt", 0);
gltraceUpd.put("ref_type", "F"); gltraceUpd.put("ref_type", "F");
gltraceUpd.put("ref_ser", "R-DIS"); gltraceUpd.put("ref_ser", "R-DIS");
......
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