Esempio n. 1
0
 /// <summary>
 /// 異動VDS_PUR_PICK_CONTROL_CHK,變更使用者鎖定編輯(為了保原使用者資訊)
 /// </summary>
 /// <param name="UID">原始使用者</param>
 /// <param name="oldTime">原始異動時間</param>
 /// <param name="newTime">建立時間</param>
 private void UpdateControlChk(string UID, DateTime oldTime, DateTime newTime)
 {
     try
     {
         ParameterList.Clear();
         ParameterList.Add(txtPLAN_ACCEPT_DATE.Text);
         ParameterList.Add(txtPICK_BATCH.Text);
         ParameterList.Add(UID);
         ParameterList.Add(oldTime);
         ParameterList.Add(Session["UID"].ToString());
         ParameterList.Add(newTime);
         PURModel.MaintainPurchaseDeliveryGoods BCO = new PURModel.MaintainPurchaseDeliveryGoods(ConnectionDB);
         BCO.UpdateControlChk(ParameterList, null);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }