Commit d687ee6d authored by cpatil's avatar cpatil

modified for cheq no increment and exchange rate set in - ve detail


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@36741 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 513c7b29
......@@ -1707,7 +1707,8 @@ System.out.println("Getting winName============"+windowName);
{
if(Integer.parseInt(chq1)>Integer.parseInt(chq2))
{
maxRefNo=""+(Integer.parseInt(chq1)+1);
// maxRefNo=""+(Integer.parseInt(chq1)+1);
maxRefNo=""+chq1; // modified by cpatil for cheq no increment
}
}
......@@ -1768,7 +1769,8 @@ System.out.println("Getting winName============"+windowName);
xmlString.append("<bank_code><![CDATA[" + checkNull(bankCode) + "]]></bank_code>");
if("Q".equalsIgnoreCase(payMode) || "D".equalsIgnoreCase(payMode))
{
xmlString.append("<ref_no><![CDATA[" + checkNull(maxRefNo) + "]]></ref_no>");
//xmlString.append("<ref_no><![CDATA[" + maxRefNo +"]]></ref_no>"); // modified by cpatil for cheq no increment
xmlString.append("<ref_no><![CDATA[" + checkNull( ""+(Integer.parseInt(maxRefNo)+1)) + "]]></ref_no>");
}
else
{
......@@ -2040,7 +2042,8 @@ System.out.println("Getting winName============"+windowName);
xmlString.append("<bill_no><![CDATA["+ tempMapNeg.get("bill_no") +"]]></bill_no>");
xmlString.append("<bill_date><![CDATA["+ tempMapNeg.get("bill_date") +"]]></bill_date>");
xmlString.append("<exch_rate><![CDATA["+ tempMapNeg.get("exch_rate") +"]]></exch_rate>");
// xmlString.append("<exch_rate><![CDATA["+ tempMapNeg.get("exch_rate") +"]]></exch_rate>");
xmlString.append("<exch_rate><![CDATA["+ mexrate +"]]></exch_rate>");
//xmlString.append("<discount_amt><![CDATA["+ tempMapNeg.get("discount_amt") +"]]></discount_amt>");
//xmlString.append("<discount><![CDATA["+ tempMapNeg.get("discount") +"]]></discount>");
......
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