Commit 9e88cb2a authored by rtiwari's avatar rtiwari

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94241 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 547b6096
......@@ -26,6 +26,8 @@ import ibase.webitm.utility.TransIDGenerator;
import ibase.utility.CommonConstants;
import ibase.ejb.*;
import ibase.system.config.*;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.*;
import javax.ejb.Stateless; // added for ejb3
......@@ -167,6 +169,8 @@ public class StockAllocationPrc extends ProcessEJB implements StockAllocationPrc
SimpleDateFormat simpleDateFormat = new SimpleDateFormat(genericUtility.getDBDateFormat());
conn = connDriver.getConnectDB("DriverITM");
connDriver = null;
DecimalFormat df = new DecimalFormat("0.000");
//added by kunal on 15/NOV/13 DI3ESUN009
resrvLoc = checkNull(dComm.getDisparams("999999","RESERV_LOCATION",conn)); // marked
casePickLoc = checkNull(dComm.getDisparams("999999","CASE_PICK_INVSTAT",conn));
......@@ -614,6 +618,7 @@ public class StockAllocationPrc extends ProcessEJB implements StockAllocationPrc
}
}
System.out.println("Bal stk qty for item ....." + rs.getString(6) + " is " + balStockQty+" hold qty="+holdQty);
}
rs1.close();
rs1 = null;
......@@ -626,7 +631,7 @@ public class StockAllocationPrc extends ProcessEJB implements StockAllocationPrc
System.out.println("kunal test::"+itemCodeMap.containsKey((rs.getString(6).trim()+"@"+rs.getString(12).trim())));
if(itemCodeMap.containsKey((rs.getString(6).trim()+"@"+rs.getString(12).trim())) )//change the key of itemmap
{
retTabSepStrBuff.append("<Detail2>");
// COLUMN SEQ: CHANGE BY RITESH ON 11/FEB/2014 FOR SCM issue tracker point # 195-N
//SALE_ORDER
......@@ -646,7 +651,7 @@ public class StockAllocationPrc extends ProcessEJB implements StockAllocationPrc
//retTabSepStrBuff.append(rs.getString(7)).append("\t");
retTabSepStrBuff.append("<item_descr>").append("<![CDATA[" + rs.getString(7) +"]]>").append("</item_descr>");
//STOCK QTY
retTabSepStrBuff.append("<stock_quantity>").append("<![CDATA[" + balStockQty +"]]>").append("</stock_quantity>");
retTabSepStrBuff.append("<stock_quantity>").append("<![CDATA[" + df.format(balStockQty) +"]]>").append("</stock_quantity>");
//Hold Qty
//retTabSepStrBuff.append(holdQty).append("\t");// added by Kunal on 22/10/12
retTabSepStrBuff.append("<hold_qty>").append("<![CDATA[" + holdQty +"]]>").append("</hold_qty>");
......
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