Commit 6bd1c768 authored by manohar's avatar manohar

inv_pack_rcp validation loc_code and lot_sl excluded


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96262 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 94adfbc5
...@@ -876,10 +876,10 @@ QCTransferICRemote { ...@@ -876,10 +876,10 @@ QCTransferICRemote {
+ " and inv_pack_rcp.order_no = inv_pack.order_no " + " and inv_pack_rcp.order_no = inv_pack.order_no "
+ " and inv_pack_rcp.order_no = ? " + " and inv_pack_rcp.order_no = ? "
+ " and inv_pack_rcp.item_code = ? " + " and inv_pack_rcp.item_code = ? "
+ " and inv_pack_rcp.loc_code = ? "
+ " and inv_pack_rcp.lot_no = ? " + " and inv_pack_rcp.lot_no = ? "
+ " and inv_pack_rcp.lot_sl = ? "
+ " and case when inv_pack.status is null then 'U' else inv_pack.status end <> 'X' "; + " and case when inv_pack.status is null then 'U' else inv_pack.status end <> 'X' ";
//+ " and inv_pack_rcp.loc_code = ? "
//+ " and inv_pack_rcp.lot_sl = ? "
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString(1, refNo); pstmt.setString(1, refNo);
pstmt.setString(2, itemCode); pstmt.setString(2, itemCode);
...@@ -896,8 +896,7 @@ QCTransferICRemote { ...@@ -896,8 +896,7 @@ QCTransferICRemote {
pstmt.close(); pstmt.close();
pstmt = null; pstmt = null;
System.out System.out.println("@@@@@@ cnt[" + cnt + "]::::conf:[" + conf + "]");
.println("@@@@@@ cnt[" + cnt + "]::::conf:[" + conf + "]");
if (cnt == 0) { if (cnt == 0) {
errCode = "VTNOPCKLST"; errCode = "VTNOPCKLST";
return errCode; return errCode;
......
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