protected void btnCancel_Click(object sender, EventArgs e) { try { TheCycleCountMgr.CancelCycleCount(this.CacheResolver.Code, this.CurrentUser); this.CacheResolver.Status = BusinessConstants.CODE_MASTER_STATUS_VALUE_CANCEL; this.EditMode = false; this.Refresh(); ShowSuccessMessage("MasterData.Order.OrderHead.Cancel.Successfully", this.CacheResolver.Code); } catch (BusinessErrorException ex) { ShowErrorMessage(ex); } }
protected void btnCancel_Click(object sender, EventArgs e) { try { TheCycleCountMgr.CancelCycleCount(this.OrderNo, this.CurrentUser); this.Refresh(); if (TabEvent != null) { TabEvent(new object[] { false, "" }, e); } ShowSuccessMessage("Common.Business.Result.Cancel.Successfully", this.OrderNo); } catch (BusinessErrorException ex) { ShowErrorMessage(ex); } }