Commit a33a84f9 authored by ngadkari's avatar ngadkari

changes in conv__rtuom_stduom column itemChange removed .append xml

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@199818 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bd29f91e
...@@ -3715,7 +3715,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -3715,7 +3715,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
convRtuomStduomStr = checkNullandTrim(genericUtility.getColumnValue("conv__rtuom_stduom", dom)); convRtuomStduomStr = checkNullandTrim(genericUtility.getColumnValue("conv__rtuom_stduom", dom));
unit = checkNullandTrim(genericUtility.getColumnValue("unit__rate", dom)); unit = checkNullandTrim(genericUtility.getColumnValue("unit__rate", dom));
unitStd = checkNullandTrim(genericUtility.getColumnValue("unit__std", dom)); unitStd = checkNullandTrim(genericUtility.getColumnValue("unit__std", dom));
convRtuomStduom = convRtuomStduomStr == null ? 0 : Double.parseDouble(convRtuomStduomStr); convRtuomStduom = convRtuomStduomStr == null || convRtuomStduomStr.trim().length() == 0 ? 0 : Double.parseDouble(convRtuomStduomStr);
if (unitStd == null || unitStd.length() == 0) { if (unitStd == null || unitStd.length() == 0) {
itemCode = checkNullandTrim(genericUtility.getColumnValue("item_code", dom)); itemCode = checkNullandTrim(genericUtility.getColumnValue("item_code", dom));
unit = setDescription("unit", "item", "item_code", itemCode, conn); unit = setDescription("unit", "item", "item_code", itemCode, conn);
...@@ -11594,8 +11594,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal ...@@ -11594,8 +11594,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
objContext, conn)); objContext, conn));
} }
if (currentColumn.trim().equalsIgnoreCase("conv__rtuom_stduom")) { if (currentColumn.trim().equalsIgnoreCase("conv__rtuom_stduom")) {
valueXmlString.append(gbfIcConvRtuomStduom(valueXmlString, dom, dom1, dom2, editFlag, xtraParams, valueXmlString = (gbfIcConvRtuomStduom(valueXmlString, dom, dom1, dom2, editFlag, xtraParams,
objContext, conn)); objContext, conn));//removed .append by nandkumar gadkari on 18/04/19
} }
if (currentColumn.trim().equalsIgnoreCase("unit__rate")) { if (currentColumn.trim().equalsIgnoreCase("unit__rate")) {
valueXmlString = (gbfIcUnitRate(valueXmlString, dom, dom1, dom2, editFlag, xtraParams, objContext, valueXmlString = (gbfIcUnitRate(valueXmlString, dom, dom1, dom2, editFlag, xtraParams, objContext,
......
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