Commit 1d04fafd authored by cpatil's avatar cpatil

QUANTITY * CONV__QTY_STDQTY


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@93282 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6a44ed5d
...@@ -78,7 +78,8 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca ...@@ -78,7 +78,8 @@ public class StockAllocPrc extends ActionHandlerEJB implements StockAllocPrcLoca
pstmt.setString(1, tranId); pstmt.setString(1, tranId);
rs = pstmt.executeQuery(); rs = pstmt.executeQuery();
sql = "SELECT (QUANTITY - QTY_ALLOC) AS TOBEALLOC FROM SORDITEM WHERE SALE_ORDER = ? AND LINE_NO = ?"; sql = "SELECT (( QUANTITY * CONV__QTY_STDQTY ) - QTY_ALLOC) AS TOBEALLOC FROM SORDITEM WHERE SALE_ORDER = ? AND LINE_NO = ?"; // modify by cpatil on 29/06/13
//sql = "SELECT ( QUANTITY - QTY_ALLOC) AS TOBEALLOC FROM SORDITEM WHERE SALE_ORDER = ? AND LINE_NO = ?";
pstmt1 = conn.prepareStatement(sql); pstmt1 = conn.prepareStatement(sql);
while( rs.next()) while( rs.next())
......
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