Commit ee34cdd0 authored by manohar's avatar manohar

Stocktransform rate also set in the detail


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93111 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 35c6ccae
......@@ -743,7 +743,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
String stkLocCode = null,stkLotNo = "", stkLotSl = "", reasCode = null, issCriteria = null;
String siteCode = null, tranType = null, noArtStr = null, retNoArt = null, inputQtyStr= null;
double perArtQty = 0, noArt = 0;
String grossWeight = null, tareWeight = null, netWeight = null;
String grossWeight = null, tareWeight = null, netWeight = null, sRate = "";
ArrayList noArtDetArrLst = new ArrayList();
double quantity = 0, remainingQty = 0, inputQty = 0, stkQty = 0, gWeight = 0;
Node currDetail = null, currDetail1 = null;
......@@ -815,6 +815,7 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
stkLocCode = genericUtility.getColumnValueFromNode("loc_code", currDetail1);
stkLotNo = genericUtility.getColumnValueFromNode("lot_no", currDetail1);
stkLotSl = genericUtility.getColumnValueFromNode("lot_sl", currDetail1);
sRate = genericUtility.getColumnValueFromNode("rate", currDetail1); // 21/05/13 manoharan rate is already there in the stock list
// 22/04/10 manoharan empty value gives box char
stkLotNo = (stkLotNo == null ? "" : stkLotNo);
stkLotSl = (stkLotSl == null ? "" : stkLotSl);
......@@ -855,6 +856,8 @@ public class WOrderIssueAct extends ActionHandlerEJB implements WOrderIssueActL
valueXmlString.append("<lot_no isSrvCallOnChg='0'>").append("<![CDATA[").append(stkLotNo).append("]]>").append("</lot_no>\r\n");
valueXmlString.append("<lot_sl isSrvCallOnChg='0'>").append("<![CDATA[").append(stkLotSl).append("]]>").append("</lot_sl>\r\n");
valueXmlString.append("<reas_code isSrvCallOnChg='0'>").append("<![CDATA[").append(reasCode).append("]]>").append("</reas_code>\r\n");
valueXmlString.append("<rate isSrvCallOnChg='0'>").append("<![CDATA[").append(sRate).append("]]>").append("</rate>\r\n");
if (inputQty > 0)
{
sql = " SELECT ROUND((CASE WHEN QUANTITY IS NULL THEN 0 ELSE QUANTITY END) / "
......
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