Commit 825fa1bb authored by mnair's avatar mnair

Added comments to the updated changes

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184631 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 3ecac402
......@@ -159,7 +159,10 @@ public class StockTransferAct extends ActionHandlerEJB implements
{
sql="select hdr.site_code, "
//Changes by mayur on 09-May-2018----start
//Add emp code from service order to be set as default loc code to
+"hdr.emp_code,"
//Changes by mayur on 09-May-2018----end
+"det.line_no, det.item_code, "
+"det.quantity, hdr.req_type, "
+"req_typ.udf_str1, req_typ.udf_str2 "
......@@ -174,7 +177,7 @@ public class StockTransferAct extends ActionHandlerEJB implements
while (rs.next()) {
lineCntr++;
siteCodeReq = rs.getString("site_code");
locCodeTo = rs.getString("emp_code");
locCodeTo = rs.getString("emp_code"); //get the emp code
lineNo = rs.getString("line_no");
itemCode = rs.getString("item_code");
remainingQty = rs.getDouble("quantity");
......@@ -345,7 +348,9 @@ public class StockTransferAct extends ActionHandlerEJB implements
hm.put(mapKey, new Double(0));
}
System.out.println("Hashmap :" + hm);
//changes by mayur on 09-May-2018 ---start(by default the loc_code__to is set as emp_code from service order
valueXmlString.append("<loc_code__to isSrvCallOnChg=\"0\">").append("<![CDATA[").append( locCodeTo ).append("]]>").append("</loc_code__to>\r\n");
//changes by mayur on 09-May-2018 ---end
valueXmlString.append("<loc_code__fr isSrvCallOnChg=\"0\">").append("<![CDATA[").append( locCodeFr ).append("]]>").append("</loc_code__fr>\r\n");
valueXmlString.append("<lot_no__to isSrvCallOnChg=\"0\">").append("<![CDATA[").append(lotNum).append("]]>").append("</lot_no__to>\r\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