Ejemplo n.º 1
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoApInvoicesDetail args)
        {
            try
            {
                var dbAtVdc2CreateTblPoApInvoicesDetailResult = await DbAtVdc2.CreateTblPoApInvoicesDetail(tblpoapinvoicesdetail);

                DialogService.Close(tblpoapinvoicesdetail);
            }
            catch (Exception dbAtVdc2CreateTblPoApInvoicesDetailException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoApInvoicesDetail!");
            }
        }
Ejemplo n.º 2
0
        protected async System.Threading.Tasks.Task Load()
        {
            var dbAtVdc2GetTblPoVendorsResult = await DbAtVdc2.GetTblPoVendors();

            getTblPoVendorsResult = dbAtVdc2GetTblPoVendorsResult;

            var dbAtVdc2GetTblIcInventoriesResult = await DbAtVdc2.GetTblIcInventories();

            getTblIcInventoriesResult = dbAtVdc2GetTblIcInventoriesResult;

            var dbAtVdc2GetTblIcUnitsResult = await DbAtVdc2.GetTblIcUnits();

            getTblIcUnitsResult = dbAtVdc2GetTblIcUnitsResult;

            tblpoapinvoicesdetail = new CanErp2.Models.DbAtVdc2.TblPoApInvoicesDetail();
        }
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoApInvoicesDetail args)
        {
            var result = await DialogService.OpenAsync <EditTblPoApInvoicesDetail>("Edit Tbl Po Ap Invoices Detail", new Dictionary <string, object>() { { "Vendor_ID", args.Vendor_ID }, { "Invoice_No", args.Invoice_No } });

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