Commit e17711c9 authored by manohar's avatar manohar

min_rate_history doc_key values trimmed before building the key


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91279 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 39d4dd9e
......@@ -458,7 +458,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
valueXmlString.append("<invoice_id protect =\"0\">").append("").append("</invoice_id>");
valueXmlString.append("<cust_code protect =\"0\">").append("").append("</cust_code>");
valueXmlString.append("<item_ser protect =\"0\">").append("").append("</item_ser>");
valueXmlString.append("<full_ret protect =\"0\">").append("Y").append("</full_ret>");
valueXmlString.append("<full_ret protect =\"0\">").append("N").append("</full_ret>");
reasCode = distCommon.getDisparams("999999","DEFAULT_REAS_CODE",conn);
......@@ -6891,6 +6891,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
System.out.println( "lcQty :: " + lcQty );
System.out.println( "lcRate :: " + lcRate );
lcAmount = (lcQty * lcRate) + lcAdjAmt; // 22/04/10 manoharan uncommented
lcAmount = getReqDecimal(lcAmount,3); // 23/04/10 manoharan amount is coming in many decimals
//lcAmount = getTotAmt( dom2 ) + lcAdjAmt; // 22/04/10 manoharan commented
System.out.println( "lcInvtraceAmt :: " + lcInvtraceAmt );
System.out.println( "lcAmount :: " + lcAmount );
......@@ -7602,7 +7603,7 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
}
if (docKey != null && docKey.trim().length() > 0)
{
docKey = docKey + "," + ( docValue == null || docValue.trim().length() == 0 ? "" : docValue );
docKey = docKey + "," + ( docValue == null || docValue.trim().length() == 0 ? "" : docValue.trim() ); // 13/05/10 manoharan docValue trim() added
}
else
{
......
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