Commit f80f14bf authored by rbhogale's avatar rbhogale

Changed by Rohan on 26-01-13 for updating pallet no in carton master


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92747 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ba8ca277
......@@ -124,7 +124,21 @@ public class PickIssPos extends ValidatorEJB implements PickIssPosLocal, PickIss
{
System.out.println("---row updated sucessfully in pallet no ---->"+updCnt);
}
//Changed by Rohan on 25-02-13 for updating pallet no against master pack in carton master.start
sql = " UPDATE CARTON_MASTER SET PALLET_NO = ? WHERE CARTON_NO IN(SELECT MASTER_CARTON FROM CARTON_MASTER WHERE PICK_ORDER = ? "
+" GROUP BY MASTER_CARTON) ";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, palletNo);
pstmt.setString(2, pickOrder);
updCnt = pstmt.executeUpdate();
pstmt.close(); pstmt = null;
if(updCnt > 0)
{
System.out.println("---row updated sucessfully in carton master--->"+updCnt);
}
//Changed by Rohan on 25-02-13 for updating pallet no against master pack in carton master.end
//Update the carton master
if(!"M".equalsIgnoreCase(pickType)) // 22/09/12 manoharan
{
......
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