Commit 3c698484 authored by wansari's avatar wansari

W15GSUN003 updated source for schedular no_art colon was missed in query


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99353 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 43f7b20a
......@@ -299,8 +299,8 @@ public class ScheduleAWMSInOutTasks implements Schedule
}
else if("PR".equalsIgnoreCase(refSer))
{
sql = "SELECT S.ITEM_CODE,S.QUANTITY,S.LOT_NO,S.LOT_SL,P.LOC_CODE,S.LOC_CODE AS LOC_CODE_FROM,S.ALLOC_QTY,P.NO_ART"+ //Changed by wasim on 4-12-2015 to take loc_code from stock
" S.SITE_CODE FROM STOCK S,PALLET_REQ_DET P WHERE AND S.INV_STAT = 'AWMS'" +
sql = "SELECT S.ITEM_CODE,S.QUANTITY,S.LOT_NO,S.LOT_SL,P.LOC_CODE,S.LOC_CODE AS LOC_CODE_FROM,S.ALLOC_QTY,P.NO_ART,"+ //Changed by wasim on 4-12-2015 to take loc_code from stock
" S.SITE_CODE FROM STOCK S,PALLET_REQ_DET P WHERE S.INV_STAT = 'AWMS'" +
" AND P.TRAN_ID = ? AND P.LINE_NO = ? AND (S.LOC_CODE = P.PALLET_NO OR S.LOC_CODE = ? )AND S.QUANTITY > 0"; //Changed by wasim on 4-12-2015 to check Q loc code if not found data
}
else if("PRS".equalsIgnoreCase(refSer))
......
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