Commit 6ee5b318 authored by manohar's avatar manohar

changes related to sordalloc to be deallocated in case of add also


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91344 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 0c744eff
......@@ -278,11 +278,8 @@ public class DespatchPrs extends ValidatorEJB implements DespatchPrsLocal, Despa
lotNo = rs.getString("LOT_NO"); //Gulzar 10/05/07
lotSl = rs.getString("LOT_SL"); //Gulzar 10/05/07
qtyStduomStr = rs.getString("QUANTITY__STDUOM");
}
rs.close();
rs = null;
//End Changes - Gulzar 10/05/07
}
qtyStduom = Double.parseDouble(qtyStduomStr);
sqlSordAlloc = "SELECT QTY_ALLOC FROM SORDALLOC WHERE SALE_ORDER = '"+sordNo+"' "
......@@ -373,7 +370,16 @@ public class DespatchPrs extends ValidatorEJB implements DespatchPrsLocal, Despa
pstmt = null;
System.out.println("Updated the no of records : updateCnt :"+updateCnt);
}
rs1.close();
rs1 = null;
stmt1.close();
stmt1 = null;
}
rs.close();
rs = null;
stmt.close();
stmt = null;
line = " " + lineNo;
System.out.println("line :"+line);
......@@ -397,8 +403,7 @@ public class DespatchPrs extends ValidatorEJB implements DespatchPrsLocal, Despa
{
System.out.println("distStkUpd.UpdAllocTrace(hashMap) : Sucessuful!");
}
rs1.close();
rs1 = null;
}
}
}//try end
catch (SQLException sqx)
......
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