Commit 703bca1f authored by mchaudhari's avatar mchaudhari

Add change user for Sale order


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96401 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2bb8acad
......@@ -100,6 +100,18 @@ public class ChgUserAllocPostSave extends ValidatorEJB implements ChgUserAllocPo
pstmt = null;
}
sql = "update despatch set chg_user = ?, chg_term = ?, chg_date = sysdate where sord_no = ? and confirmed = 'N'";
pstmt = conn.prepareStatement(sql);
pstmt.setString(1, chgUserNew);
pstmt.setString(2, chgTerm);
pstmt.setString(3, distOrder);
cnt = pstmt.executeUpdate();
if(pstmt != null){
pstmt.close();
pstmt = null;
}
System.out.println(">>>>>>>successfully deleted record ChgUserAllocPostSave cnt = :" + cnt);
}
......
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