Commit 75df61bc authored by manohar's avatar manohar

emp_code__aprv set after confirmation


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94556 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bc60ba1a
......@@ -98,7 +98,11 @@ public class LotStatPos extends ValidatorEJB implements LotStatPosLocal, LotStat
{
dom = genericUtility.parseString(domString);
empCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams, "loginEmpCode");
if(empCode == null || "null".equals(empCode))
{
empCode = "SYSTEM";
}
// 10/04/14 manoharan check whether lock exists
boolean invHoldExists = true;
int length = dom.getElementsByTagName( "Detail2").getLength();
......@@ -396,10 +400,11 @@ public class LotStatPos extends ValidatorEJB implements LotStatPosLocal, LotStat
}
//Changed by Rohan on 24-07-13 for release lot staus not 'R' and then put REJECTION_LOCKCODE.end
//Chaged by Rohan on 24-07-13 for releasing stock.end
sql = "update lot_stat_hdr set confirmed = 'Y', conf_date = ? where tran_id = ?";
sql = "update lot_stat_hdr set confirmed = 'Y', conf_date = ? , EMP_CODE__APRV = ? where tran_id = ?";
pStmt = conn.prepareStatement(sql);
pStmt.setTimestamp(1,currDate);
pStmt.setString(2,tranId);
pStmt.setString(2,empCode);
pStmt.setString(3,tranId);
int rowcnt = pStmt.executeUpdate();
if(rowcnt == 0)
{
......
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