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

            getTblPoVendorsResult = dbAtVdc2GetTblPoVendorsResult;

            tblpoapinvoice = new CanErp2.Models.DbAtVdc2.TblPoApInvoice();
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoApInvoice args)
        {
            try
            {
                var dbAtVdc2CreateTblPoApInvoiceResult = await DbAtVdc2.CreateTblPoApInvoice(tblpoapinvoice);

                DialogService.Close(tblpoapinvoice);
            }
            catch (Exception dbAtVdc2CreateTblPoApInvoiceException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoApInvoice!");
            }
        }
Beispiel #3
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoApInvoice args)
        {
            var result = await DialogService.OpenAsync <EditTblPoApInvoice>("Edit Tbl Po Ap Invoice", new Dictionary <string, object>() { { "Vendor_ID", args.Vendor_ID }, { "Invoice_No", args.Invoice_No } });

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