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

            getTblGnAddressBooksResult = dbAtVdc2GetTblGnAddressBooksResult;

            var dbAtVdc2GetTblPoVendorsResult = await DbAtVdc2.GetTblPoVendors();

            getTblPoVendorsResult = dbAtVdc2GetTblPoVendorsResult;

            tblporecreport = new CanErp2.Models.DbAtVdc2.TblPoRecReport();
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoRecReport args)
        {
            try
            {
                var dbAtVdc2CreateTblPoRecReportResult = await DbAtVdc2.CreateTblPoRecReport(tblporecreport);

                DialogService.Close(tblporecreport);
            }
            catch (Exception dbAtVdc2CreateTblPoRecReportException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoRecReport!");
            }
        }
Пример #3
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoRecReport args)
        {
            var result = await DialogService.OpenAsync <EditTblPoRecReport>("Edit Tbl Po Rec Report", new Dictionary <string, object>() { { "RR_No", args.RR_No } });

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