protected async System.Threading.Tasks.Task Load() { canEdit = true; var dbAtVdc2GetTblPoAccountsPayableAdjustmentByVoucherNoResult = await DbAtVdc2.GetTblPoAccountsPayableAdjustmentByVoucherNo($"{Voucher_No}"); tblpoaccountspayableadjustment = dbAtVdc2GetTblPoAccountsPayableAdjustmentByVoucherNoResult; }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoAccountsPayableAdjustment args) { try { var dbAtVdc2CreateTblPoAccountsPayableAdjustmentResult = await DbAtVdc2.CreateTblPoAccountsPayableAdjustment(tblpoaccountspayableadjustment); DialogService.Close(tblpoaccountspayableadjustment); } catch (Exception dbAtVdc2CreateTblPoAccountsPayableAdjustmentException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoAccountsPayableAdjustment!"); } }
protected async System.Threading.Tasks.Task Load() { tblpoaccountspayableadjustment = new CanErp2.Models.DbAtVdc2.TblPoAccountsPayableAdjustment(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoAccountsPayableAdjustment args) { var result = await DialogService.OpenAsync <EditTblPoAccountsPayableAdjustment>("Edit Tbl Po Accounts Payable Adjustment", new Dictionary <string, object>() { { "Voucher_No", args.Voucher_No } }); await InvokeAsync(() => { StateHasChanged(); }); }