Commit 125ceb17 authored by ngadkari's avatar ngadkari

changes in itemdefault edit setting value of rate__clg

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@200402 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 353d9235
......@@ -8860,7 +8860,7 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
int childListLength = childNodeList.getLength();
if (currentColumn.trim().equalsIgnoreCase("itm_defaultedit")) {
String lsSpecs = "", lcRate = "";
String lsSpecs = "", lcRate = "",rateClg="";//rateClg added by nandkumar gadkari on 06/05/19
double lsCommPerc1D = 0.00, lsCommPerc2D = 0.00;
String lsCommPercOn2D = "", lsCommPercOn1D = "";
lsItemCode = checkNull(genericUtility.getColumnValue("item_code", dom));
......@@ -8923,7 +8923,8 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
lsListType = distCommon.getPriceListType(lsPriceList, conn);
lcRate = checkNull(genericUtility.getColumnValue("rate", dom));
rateClg = checkNull(genericUtility.getColumnValue("rate__clg", dom));//added by nandkumar gadkari on 06/05/19
if (lsListType == null || lsListType.trim().length() == 0) {
lsListType = "L";
}
......@@ -8950,14 +8951,14 @@ public class SalesOrderIC extends ValidatorEJB implements SalesOrderICLocal, Sal
//Commented and Added by sarita to set rate__clg instead rate as checking for price_list__clg on 09 APR 2019 [START]
/*valueXmlString.append("<rate protect = \"1\">").append("<![CDATA[" + lcRate + "]]>")
.append("</rate>");*/
valueXmlString.append("<rate__clg protect = \"1\">").append("<![CDATA[" + lcRate + "]]>")
valueXmlString.append("<rate__clg protect = \"1\">").append("<![CDATA[" + rateClg + "]]>")
.append("</rate__clg>");
//Commented and Added by sarita to set rate__clg instead rate as checking for price_list__clg on 09 APR 2019 [END]
} else {
//Commented and Added by sarita to set rate__clg instead rate as checking for price_list__clg on 09 APR 2019 [START]
/*valueXmlString.append("<rate protect = \"0\">").append("<![CDATA[" + lcRate + "]]>")
.append("</rate>");*/
valueXmlString.append("<rate__clg protect = \"0\">").append("<![CDATA[" + lcRate + "]]>")
valueXmlString.append("<rate__clg protect = \"0\">").append("<![CDATA[" + rateClg + "]]>")
.append("</rate__clg>");
//Commented and Added by sarita to set rate__clg instead rate as checking for price_list__clg on 09 APR 2019 [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