Commit dbbfc068 authored by manohar's avatar manohar

Bug fix both excess_short_qty and realised_qty aliased as excess_short_qty in select corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92714 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4119bd03
...@@ -1109,7 +1109,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1109,7 +1109,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
+ " gross_weight, tare_weight, net_weight, supp_code__mnfr, " + " gross_weight, tare_weight, net_weight, supp_code__mnfr, "
+ " site_code__mfg, grade, conv__qty_stduom, " + " site_code__mfg, grade, conv__qty_stduom, "
+ " (case when excess_short_qty is null then 0 else excess_short_qty end) as excess_short_qty, " + " (case when excess_short_qty is null then 0 else excess_short_qty end) as excess_short_qty, "
+ " loc_code__excess_short , (case when realised_qty is null then 0 else realised_qty end) as excess_short_qty, " + " loc_code__excess_short , (case when realised_qty is null then 0 else realised_qty end) as realised_qty, "
+ " batch_no, no_art, item_code__mfg, std_rate, effect_stock, form_no, retest_date, " + " batch_no, no_art, item_code__mfg, std_rate, effect_stock, form_no, retest_date, "
+ " duty_paid, batch_size " + " duty_paid, batch_size "
+ " from porcpdet Where tran_id = ? " ; + " from porcpdet Where tran_id = ? " ;
...@@ -1151,7 +1151,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp ...@@ -1151,7 +1151,7 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
convQtyStdUom = rs.getDouble("conv__qty_stduom"); convQtyStdUom = rs.getDouble("conv__qty_stduom");
exShtQty = rs.getDouble("excess_short_qty"); exShtQty = rs.getDouble("excess_short_qty");
exShtLoc = rs.getString("loc_code__excess_short"); exShtLoc = rs.getString("loc_code__excess_short");
receiptQty = rs.getDouble("excess_short_qty"); receiptQty = rs.getDouble("realised_qty");
batchNo = rs.getString("batch_no"); batchNo = rs.getString("batch_no");
noArt = rs.getDouble("no_art"); noArt = rs.getDouble("no_art");
if ( noArt == 0 ) if ( noArt == 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