private void UpdateStockInventory(int type, string ymd, ObservableCollection<EntityStockInventory> entity)
 {
     try
     {
         svcStockInventoryClient svc = new svcStockInventoryClient();
         svc.UpdateStockInventoryCompleted += new EventHandler<UpdateStockInventoryCompletedEventArgs>(this.UpdateStockInventoryCompleted);
         svc.UpdateStockInventoryAsync(Common.gstrSessionString, type, ymd, entity);
     }
     catch (Exception ex)
     {
         this.ProcessingDlgClose();
         ExMessageBox.Show(CLASS_NM + ".UpdateStockInventory" + Environment.NewLine + ex.ToString(), "エラー確認");
     }
 }