Example #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblPoOrderStatusByPoStatusIdResult = await DbAtVdc2.GetTblPoOrderStatusByPoStatusId($"{POStatus_ID}");

            tblpoorderstatus = dbAtVdc2GetTblPoOrderStatusByPoStatusIdResult;
        }
        protected async System.Threading.Tasks.Task Form0Submit(CanErp2.Models.DbAtVdc2.TblPoOrderStatus args)
        {
            try
            {
                var dbAtVdc2CreateTblPoOrderStatusResult = await DbAtVdc2.CreateTblPoOrderStatus(tblpoorderstatus);

                DialogService.Close(tblpoorderstatus);
            }
            catch (Exception dbAtVdc2CreateTblPoOrderStatusException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoOrderStatus!");
            }
        }
Example #3
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErp2.Models.DbAtVdc2.TblPoOrderStatus args)
        {
            var result = await DialogService.OpenAsync <EditTblPoOrderStatus>("Edit Tbl Po Order Status", new Dictionary <string, object>() { { "POStatus_ID", args.POStatus_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
 protected async System.Threading.Tasks.Task Load()
 {
     tblpoorderstatus = new CanErp2.Models.DbAtVdc2.TblPoOrderStatus();
 }