Commit 3180352b authored by vvengurlekar's avatar vvengurlekar

MiscVoucherIC.java - added code to set description pay_acct_description on...

MiscVoucherIC.java - added code to set description pay_acct_description on sundry code selection item change


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@185700 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0554165a
......@@ -3667,7 +3667,11 @@ public class MiscVoucherIC extends ValidatorEJB implements MiscVoucherICLocal, M
setNodeValue(dom, "acct_code__pay", acctCodeAp);
setNodeValue(dom, "cctr_code__pay", cctrCodeAp);
}
}else {
acctName = findValue(conn, "descr" , "accounts", "acct_code", acctCodePay);
System.out.println("acctName=========["+acctName+"]");
valueXmlString.append("<pay_acct_descr>").append("<![CDATA[" + acctName + "]]>").append("</pay_acct_descr>");
}//Added else block by varsha to set description for acct_code_pay on 31-05-18
cctrCodeAp = genericUtility.getColumnValue("cctr_code__ap", dom);
cctrDescr = findValue(conn, "descr" , "costctr", "cctr_code", cctrCodeAp);
valueXmlString.append("<cctr_descr__ap>").append("<![CDATA[" + cctrDescr + "]]>").append("</cctr_descr__ap>");
......
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