Commit 5a66e700 authored by ngadkari's avatar ngadkari

Changes in account and cctr method

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@211660 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dc4f9440
......@@ -588,7 +588,8 @@ public class SRLContainerSplit extends ActionHandlerEJB implements SRLContainerS
valueXmlforReceipt.append("<gross_weight><![CDATA[").append("0").append("]]></gross_weight>\n");
valueXmlforReceipt.append("<tare_weight><![CDATA[").append("0").append("]]></tare_weight>\n");
valueXmlforReceipt.append("<net_weight><![CDATA[").append("0").append("]]></net_weight>\n");
String[] acctCctrDetrValue = finCommon.getFromAcctDetr(itemCodeDet,itemSer,"STKINV",conn).split(",");
//String[] acctCctrDetrValue = finCommon.getFromAcctDetr(itemCodeDet,itemSer,"STKINV",conn).split(","); commented and added new getAcctDetrTtype() method by nandkuma gadkari on 11/11/19
String[] acctCctrDetrValue = finCommon.getAcctDetrTtype(itemCodeDet,itemSer,"STKINV"," ",conn).split(",");
valueXmlforReceipt.append("<acct_code__dr><![CDATA[").append(acctCctrDetrValue[0]).append("]]></acct_code__dr>\n");
valueXmlforReceipt.append("<cctr_code__dr><![CDATA[").append(acctCctrDetrValue[1]).append("]]></cctr_code__dr>\n");
valueXmlforReceipt.append("<acct_code__cr><![CDATA[").append(finCommon.getFinparams("999999","ACCT_CODE_ISS_RCP",conn)).append("]]></acct_code__cr>\n");
......
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