Commit fd67fe18 authored by cpatil's avatar cpatil

remove added return_type


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92682 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3afcc318
......@@ -193,7 +193,7 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
HashMap infoMap = null;
String sretLocCode="",taxCal="",itemCodeOrd="";
double effCost=0;
String returnType=""; // added by cpatil on 12/002/13
// returnType=""; // added by cpatil on 12/002/13
try
{
ITMDBAccessEJB dbEjb = new ITMDBAccessEJB();
......@@ -312,13 +312,13 @@ public class SReturnForm extends ValidatorEJB implements SReturnFormLocal, SRetu
valueXmlString.append("<exch_rate protect =\"0\">").append("0").append("</exch_rate>");
// added by cpatil on 12/02/13 start
returnType = distCommon.getDisparams("999999","RETURN_TYPE",conn);
returnType = returnType == null ?"" : returnType.trim();
if(returnType.equalsIgnoreCase("NULLFOUND"))
{
returnType="";
}
valueXmlString.append("<return_type protect =\"0\">").append(returnType).append("</return_type>");
//returnType = distCommon.getDisparams("999999","RETURN_TYPE",conn);
//returnType = returnType == null ?"" : returnType.trim();
//if(returnType.equalsIgnoreCase("NULLFOUND"))
//{
// returnType="";
//}
//valueXmlString.append("<return_type protect =\"0\">").append(returnType).append("</return_type>");
// added by cpatil on 12/02/13 end
......
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