Commit cbd06c26 authored by kmandhre's avatar kmandhre

check quantity in stock


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95186 ce508802-f39f-4f6c-b175-0d175dae99d5
parent dd69a146
......@@ -300,7 +300,7 @@ public class InvHoldConf extends ActionHandlerEJB implements InvHoldConfLocal ,I
while ( rsNoSl.next() )
{
HashMap pkKeyValMap = new HashMap();
StringBuffer sb = new StringBuffer("SELECT ITEM_CODE,SITE_CODE,LOC_CODE,LOT_NO,LOT_SL,QUANTITY, HOLD_QTY,QTY_PER_ART FROM STOCK WHERE ");
StringBuffer sb = new StringBuffer("SELECT ITEM_CODE,SITE_CODE,LOC_CODE,LOT_NO,LOT_SL,QUANTITY, HOLD_QTY,QTY_PER_ART FROM STOCK WHERE WHERE QUANTITY > 0 and "); //change done by kunal on 29/may/14 add condition for stock qty
itemCode = checkNull(rsNoSl.getString("ITEM_CODE"));
siteCode = checkNull(rsNoSl.getString("SITE_CODE"));
locCode = checkNull(rsNoSl.getString("LOC_CODE"));
......
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