Commit 256771fa authored by ssarkar's avatar ssarkar

update by sumit on 28/02/13 for issue tracker point 99 (STOCK DEALLOCATION) .


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92772 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 64958573
......@@ -215,15 +215,15 @@ public class DeallocArtIC extends ValidatorEJB implements DeallocArtICRemote, De
" FROM CARTON_MASTER CM, PICK_ORD_DET POD , PICK_ORD_HDR POH, WAVE_TASK_DET WTD WHERE CM.PTCN = ? " +
" AND CM.PICK_ORDER = POD.PICK_ORDER AND POH.PICK_ORDER = POD.PICK_ORDER " +
" AND CM.LINE_NO__PICK = POD.LINE_NO AND WTD.PTCN = CM.PTCN " +
" AND WTD.REF_ID = CM.PICK_ORDER AND POH.PICK_TYPE IN (?,?) " +
" AND WTD.REF_ID = CM.PICK_ORDER AND POH.PICK_TYPE IN (?,?) ";
//" AND ( FN_CHECK_DEALLOC_ARTDET(CM.PTCN, CM.CARTON_NO ) = 0 ) "+
" AND CM.STATUS <> ? ";
//" AND CM.STATUS <> ? ";
pstmt1 = conn.prepareStatement(sql);
pstmt1.setString(1, ptcn);
pstmt1.setString(2, "C");
pstmt1.setString(3, "M");
pstmt1.setString(4, "R");
//pstmt1.setString(4, "R");
rs1 = pstmt1.executeQuery();
if( !rs1.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