Пример #1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblIcTransaction args)
        {
            try
            {
                var dbAtVdc2CreateTblIcTransactionResult = await DbAtVdc2.CreateTblIcTransaction(tblictransaction);

                DialogService.Close(tblictransaction);
            }
            catch (Exception dbAtVdc2CreateTblIcTransactionException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblIcTransaction!");
            }
        }
Пример #2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var dbAtVdc2GetTblIcTransactionTypesResult = await DbAtVdc2.GetTblIcTransactionTypes();

            getTblIcTransactionTypesResult = dbAtVdc2GetTblIcTransactionTypesResult;

            var dbAtVdc2GetTblIcWarehousesResult = await DbAtVdc2.GetTblIcWarehouses();

            getTblIcWarehousesResult = dbAtVdc2GetTblIcWarehousesResult;

            var dbAtVdc2GetTblGnProductsResult = await DbAtVdc2.GetTblGnProducts();

            getTblGnProductsResult = dbAtVdc2GetTblGnProductsResult;

            tblictransaction = new CanErp2.Models.DbAtVdc2.TblIcTransaction();
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblIcTransaction args)
        {
            var result = await DialogService.OpenAsync <EditTblIcTransaction>("Edit Tbl Ic Transaction", new Dictionary <string, object>() { { "Trans_No", args.Trans_No } });

            await InvokeAsync(() => { StateHasChanged(); });
        }