Commit 37834c28 authored by rsharma's avatar rsharma

DI90SUN059 properly set line no of sale order on click packlist


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91339 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a0577f44
......@@ -1798,7 +1798,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
+"AND INV_PACK.ORDER_NO IN(" +orderNo+") "
+"AND INV_PACK.CONFIRMED = 'Y' "
+"AND STOCK.QUANTITY >= INV_PACK_RCP.QUANTITY "
+"ORDER BY INV_PACK_RCP.LINE_NO ASC ";
+"ORDER BY INV_PACK.TRAN_DATE ,INV_PACK.TRAN_ID,INV_PACK_RCP.LINE_NO ASC ";
System.out.println("sql :"+sql);
......@@ -1807,6 +1807,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
while (rs.next())// here in PB it opens a window and prompts the user to select records and then the procssing continues for the selected records
{
valueXmlString.append("<Detail>\r\n");
valueXmlString.append("<tran_id>").append("<![CDATA[").append(rs.getString(1)).append("]]>").append("</tran_id>\r\n");
valueXmlString.append("<line_no>").append("<![CDATA[").append(rs.getInt(2)).append("]]>").append("</line_no>\r\n");
valueXmlString.append("<order_no>").append("<![CDATA[").append(rs.getString(3)).append("]]>").append("</order_no>\r\n");
......@@ -1826,7 +1827,6 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
valueXmlString.append("<dimension>").append("<![CDATA[").append(rs.getString(17)).append("]]>").append("</dimension>\r\n");
valueXmlString.append("<process_yn>").append("<![CDATA[").append(rs.getString(18)).append("]]>").append("</process_yn>\r\n");
valueXmlString.append("</Detail>\r\n");
}//while end
valueXmlString.append("</Root>\r\n");
......@@ -1993,8 +1993,7 @@ public class DespatchAct extends ActionHandlerEJB implements DespatchActLocal, D
//valueXmlString.append("<unit__std isSrvCallOnChg='0'>").append("<![CDATA[").append(unitStd).append("]]>").append("</unit__std>\r\n");
//setNodeValue( dom, "desp_id", (despId == null) ? "":despId );
itemCode = genericUtility.getColumnValueFromNode("item_code",currDetail);
//valueXmlString.append("<item_code isSrvCallOnChg='0'>").append("<![CDATA[").append(itemCode).append("]]>").append("</item_code>\r\n");
//setNodeValue( dom, "item_code", (itemCode == null) ? "":itemCode );
quantity = Double.parseDouble(genericUtility.getColumnValueFromNode("quantity",currDetail));
qtyStd = quantity;
conv = 0;
......
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