Exemplo n.º 1
0
        private void DoCancelOut()
        {
            List <Bills>     selectedList     = GetSelectedBills();
            StockBillService stockBillService = new StockBillService();

            foreach (Bills bill in selectedList)
            {
                Bills b = stockBillService.FindBill(bill.ID);
                stockBillService.CancelOutBill(bill, PermissionService.GetCurrentUser().Name, DateTime.Now, "冲销的票据");
            }

            this.DoReset();
        }
Exemplo n.º 2
0
        public void DoCancelOut()
        {
            List <StockBill> selectedList = GetSelectedStockBills();
            StockBillService service      = new StockBillService();

            foreach (StockBill bill in selectedList)
            {
                StockBill b = service.FindBill(bill.ID);
                service.CancelOutBill(bill, PermissionService.GetCurrentUser().Name, DateTime.Now, "");
            }

            this.DoReset();
        }