Commit 7fd2b9af authored by mjadhav's avatar mjadhav

chages done in tag value for count code from state


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98235 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 69617ec4
......@@ -446,7 +446,7 @@ public class GenPaymentSchedule implements Schedule {
while(rs.next())
{
cnt++;
msgId = checkNull(rs.getString("MsgId"));
msgId = rs.getString("MsgId");
System.out.println("msgId : "+msgId);
creDtTm = checkNull(rs.getString("CreDtTm"));
nbOfTxs = checkNull(rs.getString("NbOfTxs"));
......@@ -515,6 +515,7 @@ public class GenPaymentSchedule implements Schedule {
rmtInfoMap.put("dscntApldAmt@"+cnt,utilMethods.getReqDecString(dscntApldAmt, 2));
rmtInfoMap.put("rmtdAmt@"+cnt,utilMethods.getReqDecString(rmtdAmt,2));
msgId = msgId == null ? " " : msgId.trim();
}
rs.close();
......@@ -569,7 +570,7 @@ public class GenPaymentSchedule implements Schedule {
Element Dbtr = doc.createElement("Dbtr");
Dbtr.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Nm", siteNm));//site.descr
Element pstlAdr = doc.createElement("PstlAdr");
pstlAdr.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Ctry", ccy));//state.count_code
pstlAdr.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Ctry", ctry));//state.count_code
Dbtr.appendChild(pstlAdr);
pmtInf.appendChild(Dbtr);
//Dbtr tag end
......@@ -581,7 +582,7 @@ public class GenPaymentSchedule implements Schedule {
othr.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Id", id));//bank.ac_no
Id.appendChild(othr);
dbtrAcct.appendChild(Id);
dbtrAcct.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Ccy", ctry));//bank.curr_code
dbtrAcct.appendChild(getElementValue(doc, cstmrCdtTrfInitn, "Ccy", ccy));//bank.curr_code
pmtInf.appendChild(dbtrAcct);
//DbtrAcct end
......@@ -851,7 +852,7 @@ public class GenPaymentSchedule implements Schedule {
{
if (input == null)
{
input = "";
input = " ";
}
return input;
}
......
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