Commit 3c05ebe2 authored by vkadam's avatar vkadam

Item Change for site_code. Check from disparm whether the Consumption order is...

Item Change for site_code. Check from disparm whether the Consumption order is set for Auto issue creation, and generate and confirm the Issue accordingly.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@98458 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6adef7ec
...@@ -667,6 +667,17 @@ public class ConsumptionOdrIssuWizIc extends ValidatorEJB implements Consumption ...@@ -667,6 +667,17 @@ public class ConsumptionOdrIssuWizIc extends ValidatorEJB implements Consumption
// valueXmlString.append("<get_default__val><![CDATA[Y]]></get_default__val>"); // valueXmlString.append("<get_default__val><![CDATA[Y]]></get_default__val>");
valueXmlString.append("</Detail1>"); valueXmlString.append("</Detail1>");
} }
if(currentColumn.equals("site_code"))
{
String currDomStr = genericUtility.serializeDom(dom);
System.out.println("Before currDomStr["+currDomStr+"]");
StringBuffer valueXmlStr = new StringBuffer();
System.out.println("Column value of Site Code reqd :- ["+columnValue+"]");
valueXmlStr.append(commonFunctions.setDescrFromRefTable("site", "site_code", columnValue, "site_descr", conn));
currDomStr = currDomStr.replace("</Detail1>", valueXmlStr.toString() +"</Detail1>");
System.out.println("after currDomStr[" + currDomStr + "]");
valueXmlString.append(currDomStr);
}
if(currentColumn.equals("site_code__reqd")) if(currentColumn.equals("site_code__reqd"))
{ {
System.out.println("In item change 'site_code__reqd'"); System.out.println("In item change 'site_code__reqd'");
......
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