Commit 8f9a53c7 authored by vvengurlekar's avatar vvengurlekar

MiscVoucherIC.java - cost center code setting in itm_defaultedit is changed


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@202132 ce508802-f39f-4f6c-b175-0d175dae99d5
parent e7b21798
......@@ -2419,7 +2419,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
Document dom2 = null;
String valueXmlString = "";
try
{
{
dom = parseString(xmlString);
dom1 = parseString(xmlString1);
if(xmlString2.trim().length() > 0 )
......@@ -4580,6 +4580,7 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
parentNodeList = dom.getElementsByTagName("Detail3");
parentNode = parentNodeList.item(0);
childNodeList = parentNode.getChildNodes();
System.out.println("Detail3 dom in case 3 : ["+genericUtility.serializeDom(dom)+"]");
ctr = 0;
reStr = itemChanged(dom1, dom1, dom2, "1","itm_defaultedit", editFlag, xtraParams);
......@@ -4809,9 +4810,11 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
deptCode = genericUtility.getColumnValue("dept_code", dom);
System.out.println("deptCode dom["+deptCode+"]");
empCode = genericUtility.getColumnValue("emp_code", dom);
cctrCode = genericUtility.getColumnValue("cctr_code", dom);
//Changed by Varsha V on 17-06-19 to set proper cctr code from dom
//cctrCode = genericUtility.getColumnValue("cctr_code", dom);
cctrCode = genericUtility.getColumnValue("cctr_code", dom, "3");
System.out.println("cctr_code dom["+cctrCode+"]");
String cctrCode1 = "";
//String cctrCode1 = "";
analCode = genericUtility.getColumnValue("anal_code", dom);
if((quantity == null) || (quantity.trim().length() == 0))
......
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