protected void btnConfirm_Click(object sender, EventArgs e) { try { // this.ucDetail.SaveCallBack(); Receipt receipt = new Receipt(); if (this.IsReuse) { GetLocTransHuListEvent(sender, e); if (this.HuList != null && this.HuList.Count > 0) { receipt = TheOrderMgr.ReleaseReuseOrder(this.OrderNo, this.CurrentUser, this.HuList); } else { receipt = TheOrderMgr.ReleaseScrapOrder(this.OrderNo, this.CurrentUser); } } else { receipt = TheOrderMgr.ReleaseScrapOrder(this.OrderNo, this.CurrentUser); } this.FV_Order.DataBind(); ShowSuccessMessage("MasterData.Order.OrderHead.Confirm.Successfully", this.OrderNo, receipt.ReceiptNo); UpdateView(); UpdateLocTransAndActBillEvent(this.OrderNo, null); } catch (BusinessErrorException ex) { this.ShowErrorMessage(ex); } }