protected async System.Threading.Tasks.Task Load()
        {
            var dbAtVdc2GetTblPoRecReportsResult = await DbAtVdc2.GetTblPoRecReports();

            getTblPoRecReportsResult = dbAtVdc2GetTblPoRecReportsResult;

            var dbAtVdc2GetTblIcInventoriesResult = await DbAtVdc2.GetTblIcInventories();

            getTblIcInventoriesResult = dbAtVdc2GetTblIcInventoriesResult;

            tblporrorderdetail = new CanErp2.Models.DbAtVdc2.TblPoRrOrderDetail();
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoRrOrderDetail args)
        {
            try
            {
                var dbAtVdc2CreateTblPoRrOrderDetailResult = await DbAtVdc2.CreateTblPoRrOrderDetail(tblporrorderdetail);

                DialogService.Close(tblporrorderdetail);
            }
            catch (Exception dbAtVdc2CreateTblPoRrOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoRrOrderDetail!");
            }
        }
Ejemplo n.º 3
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoRrOrderDetail args)
        {
            try
            {
                var dbAtVdc2UpdateTblPoRrOrderDetailResult = await DbAtVdc2.UpdateTblPoRrOrderDetail($"{RR_FK}", int.Parse($"{Inventory_FK}"), tblporrorderdetail);

                DialogService.Close(tblporrorderdetail);
            }
            catch (Exception dbAtVdc2UpdateTblPoRrOrderDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoRrOrderDetail");
            }
        }
Ejemplo n.º 4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoRrOrderDetail args)
        {
            var result = await DialogService.OpenAsync <EditTblPoRrOrderDetail>("Edit Tbl Po Rr Order Detail", new Dictionary <string, object>() { { "RR_FK", args.RR_FK }, { "Inventory_FK", args.Inventory_FK } });

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