protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoOrderDetail args) { try { var dbAtVdc2CreateTblSoOrderDetailResult = await DbAtVdc2.CreateTblSoOrderDetail(tblsoorderdetail); DialogService.Close(tblsoorderdetail); } catch (Exception dbAtVdc2CreateTblSoOrderDetailException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblSoOrderDetail!"); } }
protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblSoOrderDetail args) { try { var dbAtVdc2UpdateTblSoOrderDetailResult = await DbAtVdc2.UpdateTblSoOrderDetail(int.Parse($"{SODetail_SEQ}"), tblsoorderdetail); DialogService.Close(tblsoorderdetail); } catch (Exception dbAtVdc2UpdateTblSoOrderDetailException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblSoOrderDetail"); } }
protected async System.Threading.Tasks.Task Load() { var dbAtVdc2GetTblSoOrderDetailStatusesResult = await DbAtVdc2.GetTblSoOrderDetailStatuses(); getTblSoOrderDetailStatusesResult = dbAtVdc2GetTblSoOrderDetailStatusesResult; var dbAtVdc2GetTblSoSalesOrdersResult = await DbAtVdc2.GetTblSoSalesOrders(); getTblSoSalesOrdersResult = dbAtVdc2GetTblSoSalesOrdersResult; var dbAtVdc2GetTblIcInventoriesResult = await DbAtVdc2.GetTblIcInventories(); getTblIcInventoriesResult = dbAtVdc2GetTblIcInventoriesResult; tblsoorderdetail = new CanErp2.Models.DbAtVdc2.TblSoOrderDetail(); }
protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblSoOrderDetail args) { var result = await DialogService.OpenAsync <EditTblSoOrderDetail>("Edit Tbl So Order Detail", new Dictionary <string, object>() { { "SODetail_SEQ", args.SODetail_SEQ } }); await InvokeAsync(() => { StateHasChanged(); }); }