Commit f61368e2 authored by msalla's avatar msalla

PDC entry

While doing PDC entry after selecting the Tran ID System has not picking the amount, it is showing ZERO & also in the PDC entry system not taking part payments.
Site- S0018 , Sample customer code-UP0007

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204732 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 59c41697
......@@ -1599,20 +1599,23 @@ public class PdcReceivedIC extends ValidatorEJB implements PdcReceivedRemote, Pd
pstmt.setString(1, currCode);
System.out.println("test2 currncy"+currCode);
rs = pstmt.executeQuery();
if (rs.next()) {
if (rs.next())
{
currDescr = rs.getString(1);
}
rs.close();
rs = null;
pstmt.close();
pstmt = null;
if (adjAmt == 0)
/*
if(adjAmt == 0)
{
amt= totAmt - adjAmt;
adjAmtBc = amt* exrate;
}
*/
amt= totAmt - adjAmt;
adjAmtBc = amt* exrate;
valueXmlString.append("<curr_code>").append("<![CDATA[" + currCode + "]]>").append("</curr_code>");
valueXmlString.append("<currency_descr>").append("<![CDATA[" + currDescr + "]]>").append("</currency_descr>");
valueXmlString.append("<exch_rate>").append("<![CDATA[" + exrate + "]]>").append("</exch_rate>");
......
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