Commit 5054040d authored by msalla's avatar msalla

Single payment received against multiple code.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@204485 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 77ff1a77
......@@ -1286,7 +1286,8 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
for (ctr = 0; ctr < childNodeListLength; ctr++) {
childNode = childNodeList.item(ctr);
childNodeName = childNode.getNodeName();
if (childNodeName.equalsIgnoreCase("ref_ser")) {
if (childNodeName.equalsIgnoreCase("ref_ser"))
{
// Changed by Anjali R. on[05/03/2018][To trim ref ser value]
refSer = checkNull(genericUtility.getColumnValue("ref_ser", dom)).trim();
// refSer = checkNull(genericUtility.getColumnValue("ref_ser", dom));
......@@ -1298,7 +1299,8 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
}
}
else if (childNodeName.equalsIgnoreCase("ref_no")) {
else if (childNodeName.equalsIgnoreCase("ref_no"))
{
refNo = checkNull(genericUtility.getColumnValue("ref_no", dom));
refSer = genericUtility.getColumnValue("ref_ser", dom);
sundryType = genericUtility.getColumnValue("sundry_type", dom1);
......@@ -1421,7 +1423,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
errList.add(errCode);
errFields.add(childNodeName.toLowerCase());
}
}//commented by manish mhatre
//}//commented by manish mhatre
//end manish
}
if(errCode != null && (errCode.trim().length() > 0))
......
......@@ -718,7 +718,7 @@ public class ReceiptAdvConf extends ActionHandlerEJB implements ReceiptAdvConfLo
pstmt1.setString(1,rs.getString("ref_ser"));
pstmt1.setString(2,rs.getString("ref_no"));
rs1= pstmt1.executeQuery();
if(rs1.next())
if(rs.next())
{
ADetMap.put("sundry_code",rs.getString("cust_code"));
}
......
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