Commit 75600303 authored by smane's avatar smane

Changes made for use_supplier_lot (D14CSUN007)


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95658 ce508802-f39f-4f6c-b175-0d175dae99d5
parent d9a25409
......@@ -3876,7 +3876,14 @@ public class PoRcpConf extends ActionHandlerEJB implements PoRcpConfLocal, PoRcp
sql = "UPDATE PORCPDET SET LOT_NO = ? WHERE TRAN_ID = ? AND ITEM_CODE = ? AND (CASE WHEN BATCH_NO IS NULL THEN ' ' ELSE BATCH_NO END) = ? AND LOC_CODE = ? AND (LOT_NO IS NULL OR LENGTH(TRIM(LOT_NO)) = 0)" ;
pstmtUpd = conn.prepareStatement(sql);
if("Y".equals(useSuppLot)) //condition added by sagar on 18/07/14
{
pstmtUpd.setString(1, lotNoRcp);
}
else
{
pstmtUpd.setString(1, qcNo);
}
pstmtUpd.setString(2, tranId);
pstmtUpd.setString(3, itemCode);
pstmtUpd.setString(4, batchNo);
......
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