Commit 8b8bde25 authored by manohar's avatar manohar

Bug fixing commission debit note


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97100 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ece4d7e8
......@@ -742,6 +742,7 @@ public class CalculateCommission
commMap.put("sorder_no" , rs.getString("sorder_no"));
commMap.put("curr_code_sp" , rs.getString("curr_code_sp"));
commMap.put("exch_rate_sp" , rs.getDouble("exch_rate_sp"));
commMap.put("comm_amt" , rs.getDouble("comm_amt"));
commtList.add(commMap);
......@@ -1307,9 +1308,12 @@ public class CalculateCommission
sretPerc = (sretNetAmt* sretExchRate *100)/ invNetamt* exchRate;
}
netAmt = netAmt * sretPerc / 100;
xmlBuff.append("<drcr_amt><![CDATA["+ drcrAmt +"]]></drcr_amt>");
}
}
drcrAmt = netAmt;
xmlBuff.append("<drcr_amt><![CDATA["+ drcrAmt +"]]></drcr_amt>");
oldsp = salesPers;
currcdSpOld = currcodeSp ;
......@@ -1402,7 +1406,7 @@ public class CalculateCommission
xmlBuff.append("</Detail2>");
}
}
//}
}
......
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