Пример #1
0
 /// 取得該日期、批號是否有人在編輯
 /// <returns>false:無人使用、true:使用中,不可編輯</returns>
 private DataTable getControlChk()
 {
     try
     {
         ParameterList.Clear();
         ParameterList.Add(txtPLAN_ACCEPT_DATE.Text);
         ParameterList.Add(txtPICK_BATCH.Text);
         PURModel.MaintainPurchaseDeliveryGoods BCO = new PURModel.MaintainPurchaseDeliveryGoods(ConnectionDB);
         return BCO.QueryControlChk(ParameterList);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }