Commit fcdd74a6 authored by cpatil's avatar cpatil

change column name line_no__ord to line_no__sord , remove error


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93937 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a238a021
......@@ -1080,7 +1080,7 @@ public class StockAllocationPrc extends ProcessEJB implements StockAllocationPrc
{
sql = " SELECT count(1) FROM PICK_ORD_DET D,wave_task w,wave_task_det k " +
" WHERE d.PICK_order = k.ref_id and w.wave_id = k.wave_id and w.cancel <> 'Y' " +
" and k.status <>'Y' and D.SALE_ORDER = ? AND D.LINE_NO__ORD = ? " +
" and k.status <>'Y' and D.SALE_ORDER = ? AND D.LINE_NO__SORD = ? " +
" and (D.QUANTITY - (CASE WHEN D.DEALLOC_QTY IS NULL THEN 0 ELSE DEALLOC_QTY END )) > 0 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,saleOrder);
......
......@@ -964,7 +964,7 @@ public class StockDeallocationPrc extends ProcessEJB implements StockDeallocat
{
sql = " SELECT count(1) FROM PICK_ORD_DET D,wave_task w,wave_task_det k " +
" WHERE d.PICK_order = k.ref_id and w.wave_id = k.wave_id and w.cancel <> 'Y' " +
" and k.status <>'Y' and D.SALE_ORDER = ? AND D.LINE_NO__ORD = ? " +
" and k.status <>'Y' and D.SALE_ORDER = ? AND D.LINE_NO__SORD = ? " +
" and (D.QUANTITY - (CASE WHEN D.DEALLOC_QTY IS NULL THEN 0 ELSE DEALLOC_QTY END )) > 0 ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1,saleOrder);
......
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