Commit b32b822f authored by kgaikwad's avatar kgaikwad

Bank reconciliation (manual) - eff_date is not inserted in bank_statement even...

Bank reconciliation (manual) - eff_date is not inserted in bank_statement even though logic is there in code

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202254 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 48da70ef
......@@ -230,6 +230,7 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,
retTabSepStrBuff.append("<exch_rate>").append("<![CDATA[" + checkNull(rs.getString("EXCH_RATE")) + "]]>").append("</exch_rate>");
//Pavan R on 03-may-18 to visible eff_date during processing
retTabSepStrBuff.append("<eff_date>").append("<![CDATA[" + checkNull(effDate) + "]]>").append("</eff_date>");
//Pavan R on 03-may-18 end
retTabSepStrBuff.append("</Detail2>");
cnt++;
......@@ -319,6 +320,7 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,
String errCode = "";
String childNodeName = "";
String errString = "";
String effDate = "";
ResultSet rs = null;
Connection conn = null;
// Statement stmt = null;
......@@ -344,6 +346,11 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,
System.out.println("parentNodeList : ["+parentNodeList+"]");
sql = "SELECT AMOUNT, AMT_ADJ, STATUS, EXCH_RATE FROM BANKTRAN_LOG WHERE TRAN_ID = ? ";// '"+tranId+"'";
pstmt = conn.prepareStatement(sql);
if (effDate == null || effDate.length() == 0) //add condition by kailasG on 19 june 2019
{
errString = itmDBAccessEJB.getErrorString("", "VTEMPSTS04", "", "", conn);
return errString;
}
for (int header = 0; header < parentNodeListLength; header++) {
parentNode = parentNodeList.item(header);
childNodeList = parentNode.getChildNodes();
......@@ -713,9 +720,8 @@ public class BankRecoPrc extends ProcessEJB implements BankRecoPrcLocal,
}//Pavan R on 03-may-18 to visible eff_date during processing
else if (childNodeName.equals("eff_date"))
{
effDate = childNode.getFirstChild().getNodeValue();// call method by kailas gaikwad on 3/6/2019
effDate = childNode.getFirstChild().getNodeValue();// call method by kailas gaikwad on 3/6/2019
}
//Pavan R on 03-may-18 end
System.out.println("tranType["+tranType+"]tranDate["+tranDate+"]bankCode["+bankCode+"]siteCode["+siteCode+"]tranSer["+tranSer+"]" +
......
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